Fix CMake top-level detection, install build with CI
This commit is contained in:
parent
9af28f0aa6
commit
01bb6e1bcf
2 changed files with 3 additions and 1 deletions
|
@ -93,7 +93,7 @@ if (WITH_QT_EXAMPLE)
|
|||
add_subdirectory(examples/ragephoto-qtviewer)
|
||||
endif()
|
||||
|
||||
if (CMAKE_PROJECT_NAME EQUAL "ragephoto")
|
||||
if (${CMAKE_PROJECT_NAME} STREQUAL "ragephoto")
|
||||
option(WITH_EXTRACT "Build libragephoto with ragephoto-extract" ON)
|
||||
else()
|
||||
option(WITH_EXTRACT "Build libragephoto with ragephoto-extract" OFF)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue