[Openmp-commits] [openmp] r237130 - patch to allow lib name at configure time (from C.Bergstrom)
Andrey Churbanov
Andrey.Churbanov at intel.com
Tue May 12 06:31:57 PDT 2015
Author: achurbanov
Date: Tue May 12 08:31:57 2015
New Revision: 237130
URL: http://llvm.org/viewvc/llvm-project?rev=237130&view=rev
Log:
patch to allow lib name at configure time (from C.Bergstrom)
Modified:
openmp/trunk/runtime/CMakeLists.txt
Modified: openmp/trunk/runtime/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/CMakeLists.txt?rev=237130&r1=237129&r2=237130&view=diff
==============================================================================
--- openmp/trunk/runtime/CMakeLists.txt (original)
+++ openmp/trunk/runtime/CMakeLists.txt Tue May 12 08:31:57 2015
@@ -380,12 +380,13 @@ set(lib_item "${lib_item}${version}")
if(${WINDOWS})
set(lib_item "${lib_item}md")
endif()
+set(IOMP_LIB_NAME "${lib_item}" CACHE STRING "OMP library name")
set(lib_ext "${dll}")
# ${lib_file} is real library name:
# libiomp5.so for Linux
# libiomp5.dylib for Mac
# libiomp5md.dll for Windows
-set(lib_file "${lib_item}${lib_ext}")
+set(lib_file "${IOMP_LIB_NAME}${lib_ext}")
########################################
# Setting export file names
More information about the Openmp-commits
mailing list