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-12-21 00:21:15 +08:00
|
|
|
index bdb867e352f7..16a13fa959ea 100644
|
2020-12-01 01:56:22 +08:00
|
|
|
--- a/openmp/runtime/src/CMakeLists.txt
|
|
|
|
+++ b/openmp/runtime/src/CMakeLists.txt
|
2021-12-21 00:21:15 +08:00
|
|
|
@@ -159,7 +159,7 @@ else()
|
2021-06-30 07:08:28 +08:00
|
|
|
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-12-21 00:21:15 +08:00
|
|
|
@@ -236,7 +236,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
|