Skip to content
Snippets Groups Projects
Commit dfa5e996 authored by Omveer Singh's avatar Omveer Singh
Browse files

change interface include directories path

parent 39a6e845
Branches cmake_test_dev
No related tags found
No related merge requests found
Pipeline #19773 passed
......@@ -50,7 +50,7 @@ add_dependencies(Gtest GTEST)
add_library(GtestMain STATIC IMPORTED GLOBAL)
set_target_properties(GtestMain PROPERTIES
IMPORTED_LOCATION ${CMAKE_BINARY_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}gtest_main${CMAKE_STATIC_LIBRARY_SUFFIX}
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_BINARY_DIR}/include)
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_CURRENT_SOURCE_DIR}/external/googletest/googletest/include/gtest)
add_dependencies(GtestMain GTEST)
message(STATUS "-----------------${CMAKE_BINARY_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}gtest${CMAKE_STATIC_LIBRARY_SUFFIX}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment