Skip to content

Commit

Permalink
Merge pull request #179 from klimkin/hotfix/fix-install-coz-option
Browse files Browse the repository at this point in the history
Fix an issue libcoz not picking-up INSTALL_COZ option
  • Loading branch information
emeryberger authored Mar 23, 2021
2 parents 2e6c4a1 + 14d6aa0 commit 6dd3c3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ find_package(libelfin REQUIRED)

add_compile_options(-gdwarf-3)

option(INSTALL_COZ "Enable installation of coz. (Projects embedding coz may want to turn this OFF.)" ON)

add_subdirectory(libcoz)

option(BUILD_BENCHMARKS "Build benchmarks" OFF)
Expand All @@ -26,7 +28,6 @@ if(BUILD_BENCHMARKS)
add_subdirectory(benchmarks)
endif()

option(INSTALL_COZ "Enable installation of coz. (Projects embedding coz may want to turn this OFF.)" ON)
if(INSTALL_COZ)
include(GNUInstallDirs)
install(PROGRAMS coz DESTINATION bin)
Expand Down

0 comments on commit 6dd3c3f

Please sign in to comment.