Skip to content

Commit 7288d8d

Browse files
committed
Initialize LIBOMP_INCLUDE_DIR to be used in higher scopes
1 parent a278045 commit 7288d8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

runtime/src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ if(NOT LIBOMP_LIBRARY_DIR)
161161
else()
162162
set(LIBOMP_LIBRARY_DIR ${LIBOMP_LIBRARY_DIR} PARENT_SCOPE)
163163
endif()
164+
set(LIBOMP_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR} PARENT_SCOPE)
164165

165166
# Add symbolic links to libomp
166167
if(NOT WIN32)

0 commit comments

Comments
 (0)