diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2018-02-18 20:39:13 +0000 |
---|---|---|
committer | Edoardo Pasca <edo.paskino@gmail.com> | 2018-02-20 16:26:18 +0000 |
commit | b8e4e8d89432cfaa860835d873b52e4df40d92d5 (patch) | |
tree | a35b3d9ceca8f7e2f5739630c5608329e9ac06e7 | |
parent | c32da1d00b466c9f0a7954e057523e77f5f8354c (diff) | |
download | regularization-b8e4e8d89432cfaa860835d873b52e4df40d92d5.tar.gz regularization-b8e4e8d89432cfaa860835d873b52e4df40d92d5.tar.bz2 regularization-b8e4e8d89432cfaa860835d873b52e4df40d92d5.tar.xz regularization-b8e4e8d89432cfaa860835d873b52e4df40d92d5.zip |
added linker flags as CXX flags for openmp on linux
-rw-r--r-- | Core/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/CMakeLists.txt b/Core/CMakeLists.txt index 14b0594..3202581 100644 --- a/Core/CMakeLists.txt +++ b/Core/CMakeLists.txt @@ -38,7 +38,7 @@ find_package(OpenMP) if (OPENMP_FOUND) set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}") set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}") - set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS}") + set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS} ${OpenMP_CXX_FLAGS}") endif() ## Build the regularizers package as a library |