Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 455de55 commit 696b91aCopy full SHA for 696b91a
1 file changed
openmp/tools/omptest/CMakeLists.txt
@@ -85,7 +85,7 @@ if ((NOT LIBOMPTEST_BUILD_STANDALONE) OR LIBOMPTEST_BUILD_UNITTESTS)
85
# Link against the default GTest which at this point primarily pulls in the
86
# include directories and compile definitions. It is important to make these
87
# available to dependant targets, e.g. for unit tests.
88
- target_link_libraries(omptest INTERFACE default_gtest)
+ target_link_libraries(omptest PUBLIC default_gtest)
89
90
# Link against Threads (recommended for GTest).
91
find_package(Threads REQUIRED)
0 commit comments