mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3982 System : Avoid recompile of libecl at every commit
This commit is contained in:
parent
9850e75048
commit
fca21efe05
2
ThirdParty/Ert/lib/CMakeLists.txt
vendored
2
ThirdParty/Ert/lib/CMakeLists.txt
vendored
@ -183,6 +183,7 @@ target_include_directories(ecl
|
||||
${CMAKE_CURRENT_BINARY_DIR}/include
|
||||
)
|
||||
|
||||
if (INSTALL_ERT)
|
||||
target_compile_definitions(ecl PRIVATE
|
||||
-DGIT_COMMIT=${GIT_COMMIT}
|
||||
-DGIT_COMMIT_SHORT=${GIT_COMMIT_SHORT}
|
||||
@ -191,6 +192,7 @@ target_compile_definitions(ecl PRIVATE
|
||||
-DECL_VERSION_MICRO=${ECL_VERSION_MICRO}
|
||||
$<$<BOOL:${BIG_ENDIAN}>:HOST_BIG_ENDIAN>
|
||||
)
|
||||
endif()
|
||||
|
||||
target_compile_options(ecl PUBLIC ${pthreadarg})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user