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

add here removed line in test/CMakeLists.txt

parent 169906d6
No related branches found
No related tags found
2 merge requests!451After cmake and const refactor,!445Resolve "Refactoring WOLF installation system"
Pipeline #10225 failed
This commit is part of merge request !445. Comments created here will be created in the context of that merge request.
...@@ -12,7 +12,7 @@ if(${CMAKE_VERSION} VERSION_LESS "3.11.0") ...@@ -12,7 +12,7 @@ if(${CMAKE_VERSION} VERSION_LESS "3.11.0")
# This is a known issue for MinGW : # This is a known issue for MinGW :
# https://github.com/google/shaderc/pull/174 # https://github.com/google/shaderc/pull/174
#if(MINGW) #if(MINGW)
set(GTEST_DISABLE_PTHREADS ON) # set(GTEST_DISABLE_PTHREADS ON)
#endif() #endif()
# Download GoogleTest # Download GoogleTest
...@@ -52,6 +52,8 @@ if(${CMAKE_VERSION} VERSION_LESS "3.11.0") ...@@ -52,6 +52,8 @@ if(${CMAKE_VERSION} VERSION_LESS "3.11.0")
"IMPORTED_LINK_INTERFACE_LIBRARIES" "${CMAKE_THREAD_LIBS_INIT}" "IMPORTED_LINK_INTERFACE_LIBRARIES" "${CMAKE_THREAD_LIBS_INIT}"
) )
include_directories(${GTEST_INCLUDE_DIRS})
else() else()
message("CMake version equal or greater than 3.11.0") message("CMake version equal or greater than 3.11.0")
...@@ -71,4 +73,4 @@ function(wolf_add_gtest target) ...@@ -71,4 +73,4 @@ function(wolf_add_gtest target)
add_executable(${target} ${ARGN}) add_executable(${target} ${ARGN})
target_link_libraries(${target} gtest_main) target_link_libraries(${target} gtest_main)
add_test(NAME ${target} COMMAND ${target}) add_test(NAME ${target} COMMAND ${target})
endfunction() endfunction()
\ No newline at end of file
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