Skip to content

Commit

Permalink
Renamed OpenMP flags handling file. Removed ADD_DEFINITIONS for OpenM…
Browse files Browse the repository at this point in the history
…P flags. Let the script find the right OpenMP flags
  • Loading branch information
minhb committed Jul 31, 2014
1 parent 88bc305 commit e727820
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ IF(WITH_VALGRIND)
ENDIF()

IF(WITH_OPENMP)
INCLUDE(WHERE_IS_OpenMP)
INCLUDE(HandleOpenMPFlags)
ENDIF()

##################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e727820

Please sign in to comment.