]>
Commit | Line | Data |
---|---|---|
10f7a92e AM |
1 | --- a/CMakeLists.txt |
2 | +++ b/CMakeLists.txt | |
72784cf7 AM |
3 | @@ -707,13 +707,9 @@ |
4 | message(STATUS "OpenZWave library found at: ${OpenZWave}") | |
9dda6696 | 5 | target_link_libraries(domoticz ${OpenZWave}) |
72784cf7 AM |
6 | |
7 | - find_path(OPENZWAVE_INCLUDE_DIRS NAMES openzwave/Manager.h) | |
8 | + find_path(OPENZWAVE_INCLUDE_DIRS NAMES Manager.h) | |
9 | if (OPENZWAVE_INCLUDE_DIRS) | |
10 | - IF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") | |
11 | - include_directories(${OPENZWAVE_INCLUDE_DIRS}) | |
12 | - ELSE() | |
13 | - include_directories(${OPENZWAVE_INCLUDE_DIRS}/openzwave) | |
14 | - ENDIF() | |
15 | + include_directories(${OPENZWAVE_INCLUDE_DIRS}) | |
16 | message(STATUS "OpenZWave includes found at: ${OPENZWAVE_INCLUDE_DIRS}") | |
17 | else() | |
18 | message(FATAL_ERROR "OpenZWave includes not found. Did you not issue 'sudo make install' after building OpenZWave?") | |
19 |