cmake errors

This commit is contained in:
Johannes Wendel
2019-08-12 15:51:42 +02:00
parent 2bc969e40c
commit 314b8e3356

View File

@@ -90,8 +90,8 @@ if(NOT wiringPi_LIB)
add_definitions(-DNO_WIRING_PI) add_definitions(-DNO_WIRING_PI)
else() else()
message(STATUS "Found wiring pi.") message(STATUS "Found wiring pi.")
endif()
target_link_libraries(${PROJECT_NAME} PUBLIC ${wiringPi_LIB}) target_link_libraries(${PROJECT_NAME} PUBLIC ${wiringPi_LIB})
endif()
find_library(crypt_LIB crypt) find_library(crypt_LIB crypt)
if(NOT crypt_LIB) if(NOT crypt_LIB)