mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
System : Improved control of cotire
This commit is contained in:
parent
c257c52944
commit
3007a62238
@ -104,9 +104,6 @@ if(RESINSIGHT_ENABLE_COTIRE)
|
||||
set (CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
|
||||
|
||||
include(cotire)
|
||||
|
||||
set(CAF_USE_COTIRE TRUE CACHE INTERNAL "CAF: Use cotire")
|
||||
|
||||
endif()
|
||||
|
||||
|
||||
|
@ -141,7 +141,7 @@ target_link_libraries ( ${PROJECT_NAME}
|
||||
${QT_LIBRARIES}
|
||||
)
|
||||
|
||||
if (CAF_USE_COTIRE)
|
||||
if (COMMAND cotire)
|
||||
cotire(${PROJECT_NAME})
|
||||
|
||||
# make sure the unity target is included in the active builds to trigger rebuild before debug
|
||||
|
Loading…
Reference in New Issue
Block a user