Browse Source

Add CMake support

pull/110/head
Alligator Descartes 3 years ago
parent
commit
a9f93caa2b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      gpio/CMakeLists.txt

+ 1
- 0
gpio/CMakeLists.txt View File

@@ -17,6 +17,7 @@
# along with WiringPi. If not, see <https://www.gnu.org/licenses/>.

include_directories(${PROJECT_SOURCE_DIR}/wiringPi)
include_directories(${PROJECT_SOURCE_DIR}/devLib)

add_compile_options(-D_FILE_OFFSET_BITS=64 -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast)



Loading…
Cancel
Save