summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/cmake/MSVC/CFlags.cmake
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2015-06-01 03:05:13 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2015-06-01 03:05:13 +0000
commit227e1aeb1306e1d2c184ca460b11178794406a65 (patch)
tree3c8d2f1fe5d3d8e1be52c224a19c04ba9db6ea57 /openmp/runtime/cmake/MSVC/CFlags.cmake
parent8fd9fb98576a003e873846858f3c653cc8594b7d (diff)
downloadbcm5719-llvm-227e1aeb1306e1d2c184ca460b11178794406a65.tar.gz
bcm5719-llvm-227e1aeb1306e1d2c184ca460b11178794406a65.zip
Apply name change to CMake build system.
This change has the CMake build system create a dynamic library named libomp instead of libiomp5. Also any reference to libiomp is replaced with libomp. One can still use the LIBOMP_LIB_NAME variable to enforce a different name, and everything will still work as expected. An important note is that libiomp5 and libgomp symlinks are created at install time when on Unix systems. On Windows, copies are created with the legacy names. llvm-svn: 238715
Diffstat (limited to 'openmp/runtime/cmake/MSVC/CFlags.cmake')
-rw-r--r--openmp/runtime/cmake/MSVC/CFlags.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/cmake/MSVC/CFlags.cmake b/openmp/runtime/cmake/MSVC/CFlags.cmake
index a7239c785e7..e233cac1553 100644
--- a/openmp/runtime/cmake/MSVC/CFlags.cmake
+++ b/openmp/runtime/cmake/MSVC/CFlags.cmake
@@ -28,7 +28,7 @@ function(append_compiler_specific_c_and_cxx_flags input_c_flags input_cxx_flags)
append_c_and_cxx_flags("-arch:ia32") # Tells the compiler which features it may target (ia32)
append_c_and_cxx_flags("-Oy-") # equivalent to -fno-omit-frame-pointer
endif()
- # CMake prefers the /MD flags when compiling Windows sources, but libiomp5 needs to use /MT instead
+ # CMake prefers the /MD flags when compiling Windows sources, but libomp needs to use /MT instead
# So we replace these /MD instances with /MT within the CMAKE_*_FLAGS variables and put that out to the CACHE.
# replace_md_with_mt() is in HelperFunctions.cmake
replace_md_with_mt(CMAKE_C_FLAGS)
OpenPOWER on IntegriCloud