Commit 00758ed801af8ee693c4348e01408fd61f6f4181
1 parent
dc22c362
cmake if not fixes
Showing
3 changed files
with
4 additions
and
4 deletions
CMakeLists.txt
| ... | ... | @@ -80,7 +80,7 @@ endif() |
| 80 | 80 | # Find Qt |
| 81 | 81 | set(QT_DEPENDENCIES Concurrent Core) |
| 82 | 82 | option(BR_EMBEDDED "Limit software dependencies") |
| 83 | -if(NOT ${BR_EMBEDDED}) | |
| 83 | +if(NOT BR_EMBEDDED) | |
| 84 | 84 | set(QT_DEPENDENCIES ${QT_DEPENDENCIES} Gui Network Sql Widgets Xml) |
| 85 | 85 | endif() |
| 86 | 86 | foreach(QT_DEPENDENCY ${QT_DEPENDENCIES}) |
| ... | ... | @@ -189,7 +189,7 @@ if(${BR_INSTALL_BRPY}) |
| 189 | 189 | endif() |
| 190 | 190 | |
| 191 | 191 | # Package |
| 192 | -if(NOT ${BR_PACKAGE_THIRDPARTY}) | |
| 192 | +if(NOT BR_PACKAGE_THIRDPARTY) | |
| 193 | 193 | set(CPACK_PACKAGE_EXECUTABLES "OpenBR" "OpenBR") |
| 194 | 194 | set(CPACK_CREATE_DESKTOP_LINKS "OpenBR") |
| 195 | 195 | if(CMAKE_HOST_WIN32) | ... | ... |
openbr/CMakeLists.txt
| ... | ... | @@ -14,7 +14,7 @@ aux_source_directory(core BR_CORE) |
| 14 | 14 | include(plugins/plugins.cmake) |
| 15 | 15 | |
| 16 | 16 | # Optional GUI module |
| 17 | -if(NOT ${BR_EMBEDDED}) | |
| 17 | +if(NOT BR_EMBEDDED) | |
| 18 | 18 | aux_source_directory(gui BR_GUI) |
| 19 | 19 | qt5_add_resources(BR_ICONS ../share/openbr/icons.qrc) |
| 20 | 20 | file(GLOB HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/gui/*.h) | ... | ... |