cmake: added optimization and at the same time added the beta-NMR lib.
This commit is contained in:
3
src/external/TLemRunHeader/CMakeLists.txt
vendored
3
src/external/TLemRunHeader/CMakeLists.txt
vendored
@@ -36,6 +36,9 @@ target_include_directories(
|
||||
TLemRunHeader BEFORE PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
||||
)
|
||||
|
||||
#--- add compile options for optimization -------------------------------------
|
||||
target_compile_options(TLemRunHeader PUBLIC -O3)
|
||||
|
||||
#--- add library dependencies -------------------------------------------------
|
||||
target_link_libraries(TLemRunHeader ${ROOT_LIBRARIES})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user