Skip to content
Snippets Groups Projects
Commit 78a6f4ba authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

trying to fix cmake old

parent db45f555
No related branches found
No related tags found
2 merge requests!451After cmake and const refactor,!445Resolve "Refactoring WOLF installation system"
Pipeline #10258 canceled
# Retrieve googletest from github & compile
add_subdirectory(gtest)
# # Include gtest directory.
# include_directories(${GTEST_INCLUDE_DIRS})
# Include gtest directory.
if(${CMAKE_VERSION} VERSION_LESS "3.11.0")
message("CMake version less than 3.11.0")
include_directories(${GTEST_INCLUDE_DIRS})
endif()
############# USE THIS TEST AS AN EXAMPLE #################
# #
......
......@@ -52,8 +52,6 @@ if(${CMAKE_VERSION} VERSION_LESS "3.11.0")
"IMPORTED_LINK_INTERFACE_LIBRARIES" "${CMAKE_THREAD_LIBS_INIT}"
)
include_directories(${GTEST_INCLUDE_DIRS})
else()
message("CMake version equal or greater than 3.11.0")
......
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