diff --git a/CMakeLists.txt b/CMakeLists.txt index 124564b4d..c5de38d73 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -156,7 +156,7 @@ IF(WITH_VALGRIND) ENDIF() IF(WITH_OPENMP) - INCLUDE(WHERE_IS_OpenMP) + INCLUDE(HandleOpenMPFlags) ENDIF() ################################################## diff --git a/config/WHERE_IS_OpenMP.cmake b/config/HandleOpenMPFlags.cmake similarity index 90% rename from config/WHERE_IS_OpenMP.cmake rename to config/HandleOpenMPFlags.cmake index 6288c15b6..6bf3fdc81 100644 --- a/config/WHERE_IS_OpenMP.cmake +++ b/config/HandleOpenMPFlags.cmake @@ -4,7 +4,6 @@ # OPENMP_FOUND - true if openmp is detected FIND_PACKAGE(OpenMP) -ADD_DEFINITIONS(${OpenMP_CXX_FLAGS}) # handle OPENMP flags IF(OPENMP_FOUND)