mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-05 20:30:41 +02:00
Update CMakeLists.txt
Removed flto=auto which caused issues with gcc 8.5
This commit is contained in:
parent
d86cb533c8
commit
f7031d7f87
@ -244,7 +244,6 @@ target_compile_options(
|
|||||||
-Wvla
|
-Wvla
|
||||||
-Wdouble-promotion
|
-Wdouble-promotion
|
||||||
-Werror=return-type #important can cause segfault in optimzed builds
|
-Werror=return-type #important can cause segfault in optimzed builds
|
||||||
-flto=auto
|
|
||||||
)
|
)
|
||||||
|
|
||||||
endif() #GCC/Clang specific
|
endif() #GCC/Clang specific
|
||||||
@ -442,4 +441,4 @@ if(AARE_MASTER_PROJECT)
|
|||||||
set(CMAKE_INSTALL_DIR "share/cmake/${PROJECT_NAME}")
|
set(CMAKE_INSTALL_DIR "share/cmake/${PROJECT_NAME}")
|
||||||
set(PROJECT_LIBRARIES aare-core aare-compiler-flags )
|
set(PROJECT_LIBRARIES aare-core aare-compiler-flags )
|
||||||
include(cmake/package_config.cmake)
|
include(cmake/package_config.cmake)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user