Skip to content

Commit

Permalink
Fix an issue libcoz not picking-up INSTALL_COZ option
Browse files Browse the repository at this point in the history
  • Loading branch information
klimkin committed Mar 23, 2021
1 parent 2e6c4a1 commit 14d6aa0
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 14d6aa0

Please sign in to comment.