mirror of
https://github.com/plasma-umass/coz.git
synced 2024-09-11 04:55:25 +03:00
Merge pull request #179 from klimkin/hotfix/fix-install-coz-option
Fix an issue libcoz not picking-up INSTALL_COZ option
This commit is contained in:
commit
6dd3c3f9cd
@ -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)
|
||||
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user