Skip to content

Commit de2d350

Browse files
committed
Reverted previous change to cmake file regarding openmp compilation for debug builds.
1 parent aaeb863 commit de2d350

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

CMakeLists.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -220,19 +220,19 @@ file(GLOB SOURCES "FEBio/*.cpp")
220220
add_executable (febio4 ${HEADERS} ${SOURCES})
221221

222222
if(WIN32)
223-
target_compile_options(febio4 PRIVATE "$<$<NOT:$<CONFIG:Debug>>:/openmp>")
224-
target_compile_options(febiofluid PRIVATE "$<$<NOT:$<CONFIG:Debug>>:/openmp>")
225-
target_compile_options(febiolib PRIVATE "$<$<NOT:$<CONFIG:Debug>>:/openmp>")
226-
target_compile_options(febiomech PRIVATE "$<$<NOT:$<CONFIG:Debug>>:/openmp>")
227-
target_compile_options(febiomix PRIVATE "$<$<NOT:$<CONFIG:Debug>>:/openmp>")
228-
target_compile_options(febioopt PRIVATE "$<$<NOT:$<CONFIG:Debug>>:/openmp>")
229-
target_compile_options(fecore PRIVATE "$<$<NOT:$<CONFIG:Debug>>:/openmp>")
230-
target_compile_options(feamr PRIVATE "$<$<NOT:$<CONFIG:Debug>>:/openmp>")
231-
target_compile_options(febiorve PRIVATE "$<$<NOT:$<CONFIG:Debug>>:/openmp>")
232-
target_compile_options(feimglib PRIVATE "$<$<NOT:$<CONFIG:Debug>>:/openmp>")
233-
target_compile_options(febioplot PRIVATE "$<$<NOT:$<CONFIG:Debug>>:/openmp>")
234-
target_compile_options(febiotest PRIVATE "$<$<NOT:$<CONFIG:Debug>>:/openmp>")
235-
target_compile_options(febioxml PRIVATE "$<$<NOT:$<CONFIG:Debug>>:/openmp>")
223+
target_compile_options(febio4 PRIVATE /openmp)
224+
target_compile_options(febiofluid PRIVATE /openmp)
225+
target_compile_options(febiolib PRIVATE /openmp)
226+
target_compile_options(febiomech PRIVATE /openmp)
227+
target_compile_options(febiomix PRIVATE /openmp)
228+
target_compile_options(febioopt PRIVATE /openmp)
229+
target_compile_options(fecore PRIVATE /openmp)
230+
target_compile_options(feamr PRIVATE /openmp)
231+
target_compile_options(febiorve PRIVATE /openmp)
232+
target_compile_options(feimglib PRIVATE /openmp)
233+
target_compile_options(febioplot PRIVATE /openmp)
234+
target_compile_options(febiotest PRIVATE /openmp)
235+
target_compile_options(febioxml PRIVATE /openmp)
236236
endif()
237237

238238
##### Set dev commit information #####

0 commit comments

Comments
 (0)