Commit 4c2a5ecc authored by Johan Ström's avatar Johan Ström

Fix for old cmake

parent 585433a1
Pipeline #470 failed with stage
in 13 seconds
......@@ -19,8 +19,10 @@ FIND_LIBRARY(OpenZWave_LIBRARIES openzwave
/usr/lib)
if(DEFINED "OpenZWave_CUSTOM_INCLUDE" AND NOT OpenZWave_CUSTOM_INCLUDE STREQUAL OpenZWave_INCLUDE_BASE_DIR)
message(FATAL_ERROR "Custom OpenZWave path ${OpenZWave_CUSTOM_INCLUDE} was specified, but it was not found/used (found: ${OpenZWave_INCLUDE_BASE_DIR})")
if(DEFINED "OpenZWave_CUSTOM_INCLUDE")
if(DEFINED "OpenZWave_CUSTOM_INCLUDE" AND NOT OpenZWave_CUSTOM_INCLUDE STREQUAL OpenZWave_INCLUDE_BASE_DIR)
message(FATAL_ERROR "Custom OpenZWave path ${OpenZWave_CUSTOM_INCLUDE} was specified, but it was not found/used (found: ${OpenZWave_INCLUDE_BASE_DIR})")
endif()
endif()
if(OpenZWave_INCLUDE_BASE_DIR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment