We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d39fbd commit 28a867cCopy full SHA for 28a867c
offload/CMakeLists.txt
@@ -288,6 +288,17 @@ if(OPENMP_STANDALONE_BUILD)
288
REQUIRED
289
)
290
291
+ find_path (
292
+ LIBOMP_INCLUDE_DIR
293
+ NAMES
294
+ omp.h
295
+ HINTS
296
+ ${COMPILER_RESOURCE_DIR}/include
297
+ ${CMAKE_INSTALL_PREFIX}/include
298
+ )
299
+
300
+ get_filename_component(LIBOMP_LIBRARY_DIR ${LIBOMP_STANDALONE} DIRECTORY)
301
302
set(OPENMP_TEST_FLAGS "" CACHE STRING
303
"Extra compiler flags to send to the test compiler.")
304
set(OPENMP_TEST_OPENMP_FLAGS ${OPENMP_TEST_COMPILER_OPENMP_FLAGS} CACHE STRING
0 commit comments