Compare commits
1 Commits
5708fcd5e4
...
a2ae14a6e8
Author | SHA1 | Date | |
---|---|---|---|
a2ae14a6e8 |
@@ -1,6 +1,10 @@
|
||||
include(cotire OPTIONAL)
|
||||
|
||||
if(COMMAND cotire)
|
||||
option(CMLIB_COTIRE_ENABLE_PRECOMPILED_HEADER "Enable precompiled headers" OFF)
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
option(CMLIB_COTIRE_ENABLE_PRECOMPILED_HEADER "Enable precompiled headers" ON)
|
||||
else()
|
||||
option(CMLIB_COTIRE_ENABLE_PRECOMPILED_HEADER "Enable precompiled headers" OFF)
|
||||
endif()
|
||||
option(CMLIB_COTIRE_ADD_UNITY_BUILD "Enable unity build" OFF)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user