diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2022-05-28 14:16:58 +0200 |
|---|---|---|
| committer | j-p <jp_bruyere@hotmail.com> | 2022-05-28 14:30:46 +0200 |
| commit | 677a3547d5a930494177aeb4f9e802922dc975c3 (patch) | |
| tree | 64578e8f5ecf9688895419089b1c4b1af5dfee1b | |
| parent | a7595895a979010dda145016974327e16298442b (diff) | |
remove -flto, multithreading problems
| -rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 931e850..5d6ddd0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,7 +30,8 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug") ELSE() UNSET(ENABLE_VALIDATION CACHE) IF (UNIX) - ADD_COMPILE_OPTIONS(-w -flto -fvisibility=hidden) + ADD_COMPILE_OPTIONS(-w -fvisibility=hidden) + #ADD_COMPILE_OPTIONS(-flto) ELSEIF(MSVC) ADD_COMPILE_OPTIONS(/W0) IF (${LANG} EQUAL "C" AND MSVC) |