Skip to content

Commit 552c588

Browse files
committed
Debug 5
1 parent 42aa52c commit 552c588

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ function(configure_kernel kernel)
138138
set(XEUS_CPP_INCLUDE_DIR ${CMAKE_INSTALL_PREFIX}/include)
139139

140140
if(${kernel} MATCHES "omp/$")
141-
set(XEUS_CPP_OMP "-fopenmp")
142-
set(XEUS_CPP_INCLUDE_DIR "${XEUS_CPP_INCLUDE_DIR};${OpenMP_C_INCLUDE_DIRS}")
141+
set(XEUS_CPP_OMP "${OpenMP_CXX_FLAGS}")
142+
set(XEUS_CPP_INCLUDE_DIR "${XEUS_CPP_INCLUDE_DIR}")
143143
endif()
144144

145145
message(Configure_Kernel "${kernel}")

0 commit comments

Comments
 (0)