-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed magic number, remove unnecessary FindOpenMP.cmake
- Loading branch information
Showing
4 changed files
with
57 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# - Adds the right OpenMP flags to the CXX compiler | ||
# The following variables are set: | ||
# OpenMP_CXX_FLAGS - flags to add to the CXX compiler for OpenMP support | ||
# OPENMP_FOUND - true if openmp is detected | ||
|
||
FIND_PACKAGE(OpenMP) | ||
ADD_DEFINITIONS(${OpenMP_CXX_FLAGS}) | ||
|
||
# handle OPENMP flags | ||
IF(OPENMP_FOUND) | ||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}") | ||
ENDIF() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters