@@ -96,19 +96,14 @@ endif()
9696set (MINGW_ROOT "/mingw64/bin" )
9797# Separate variable so that cython's CMakeLists.txt can use it too
9898if (WIN32 )
99- set (INSTALLATION_SYSTEM_BINARY_FILES ${CMAKE_SOURCE_DIR} /deps/local/bin/libzmq.dll
100- ${CMAKE_SOURCE_DIR} /deps/local/bin/libsodium-13.dll
99+ set (INSTALLATION_SYSTEM_BINARY_FILES
101100 ${MINGW_ROOT} /libiconv-2.dll
102101 ${MINGW_ROOT} /libssh2-1.dll
103102 ${MINGW_ROOT} /zlib1.dll
104103 ${MINGW_ROOT} /libwinpthread-1.dll
105104 ${MINGW_ROOT} /libgcc_s_seh-1.dll
106105 ${MINGW_ROOT} /libstdc++-6.dll
107106 ${MINGW_ROOT} /libeay32.dll)
108- else ()
109- if (EXISTS ${CMAKE_SOURCE_DIR} /deps/local/lib64/libgomp.so.1)
110- list (APPEND INSTALLATION_SYSTEM_BINARY_FILES ${CMAKE_SOURCE_DIR} /deps/local/lib64/libgomp.so.1)
111- endif ()
112107endif ()
113108
114109
@@ -131,27 +126,10 @@ add_definitions(-DFUSION_MAX_VECTOR_SIZE=20)
131126#* Locate OpenMP */
132127#* */
133128#**************************************************************************/
134- if (EXISTS ${CMAKE_SOURCE_DIR} /deps/local/lib/libgomp.so)
135- add_library (libgomp.so SHARED IMPORTED )
136- set_property (TARGET libgomp.so PROPERTY IMPORTED_LOCATION ${CMAKE_SOURCE_DIR} /deps/local/lib/libgomp.so)
137- add_library (openmp INTERFACE )
138-
139- target_compile_options (openmp INTERFACE "-fopenmp" )
140- target_link_libraries (openmp INTERFACE libgomp.so)
141- message (STATUS "OpenMP Library Found" )
142- elseif (EXISTS ${CMAKE_SOURCE_DIR} /deps/local/lib64/libgomp.so)
143- add_library (libgomp.so SHARED IMPORTED )
144- set_property (TARGET libgomp.so PROPERTY IMPORTED_LOCATION ${CMAKE_SOURCE_DIR} /deps/local/lib64/libgomp.so)
145-
146- add_library (openmp INTERFACE )
147- target_compile_options (openmp INTERFACE "-fopenmp" )
148- target_link_libraries (openmp INTERFACE libgomp.so)
149- message (STATUS "OpenMP Library Found" )
150- else ()
151- add_library (openmp INTERFACE )
152- target_compile_definitions (openmp INTERFACE __NO_OPENMP__)
153- message (WARNING "OpenMP Libraries were not found" )
154- endif ()
129+ # disable openmp
130+ add_library (openmp INTERFACE )
131+ target_compile_definitions (openmp INTERFACE __NO_OPENMP__)
132+ message (WARNING "OpenMP Libraries were not found" )
155133
156134#**************************************************************************/
157135#* */
0 commit comments