2021-06-30 07:08:28 +08:00
|
|
|
openmp/runtime/src/CMakeLists.txt | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
2020-12-01 01:56:22 +08:00
|
|
|
diff --git a/openmp/runtime/src/CMakeLists.txt b/openmp/runtime/src/CMakeLists.txt
|
2021-06-30 07:08:28 +08:00
|
|
|
index 822f9ca2b825..814e25864610 100644
|
2020-12-01 01:56:22 +08:00
|
|
|
--- a/openmp/runtime/src/CMakeLists.txt
|
|
|
|
+++ b/openmp/runtime/src/CMakeLists.txt
|
2021-06-30 07:08:28 +08:00
|
|
|
@@ -157,7 +157,7 @@ else()
|
|
|
|
endif()
|
2020-12-01 01:56:22 +08:00
|
|
|
|
|
|
|
set_target_properties(omp PROPERTIES
|
|
|
|
- PREFIX "" SUFFIX "" OUTPUT_NAME "${LIBOMP_LIB_FILE}"
|
|
|
|
+ PREFIX "" SUFFIX "" OUTPUT_NAME "${LIBOMP_LIB_FILE}" DEBUG_POSTFIX ""
|
|
|
|
LINK_FLAGS "${LIBOMP_CONFIGURED_LDFLAGS}"
|
|
|
|
LINKER_LANGUAGE ${LIBOMP_LINKER_LANGUAGE}
|
|
|
|
)
|
2021-06-30 07:08:28 +08:00
|
|
|
@@ -232,7 +232,7 @@ if(WIN32)
|
2020-12-01 01:56:22 +08:00
|
|
|
# Create new import library that is just the previously created one + kmp_import.cpp
|
|
|
|
add_library(ompimp STATIC ${LIBOMP_GENERATED_IMP_LIB} kmp_import.cpp)
|
|
|
|
set_target_properties(ompimp PROPERTIES
|
|
|
|
- PREFIX "" SUFFIX "" OUTPUT_NAME "${LIBOMP_IMP_LIB_FILE}"
|
|
|
|
+ PREFIX "" SUFFIX "" OUTPUT_NAME "${LIBOMP_IMP_LIB_FILE}" DEBUG_POSTFIX ""
|
|
|
|
LINKER_LANGUAGE C
|
|
|
|
)
|
|
|
|
add_dependencies(ompimp omp) # ensure generated import library is created first
|