|
|
@ -394,7 +394,7 @@ macro(dfhack_test name files)
|
|
|
|
if(UNIX AND NOT APPLE) # remove this once our MSVC build env has been updated
|
|
|
|
if(UNIX AND NOT APPLE) # remove this once our MSVC build env has been updated
|
|
|
|
add_executable(${name} ${files})
|
|
|
|
add_executable(${name} ${files})
|
|
|
|
target_include_directories(${name} PUBLIC depends/googletest/googletest/include)
|
|
|
|
target_include_directories(${name} PUBLIC depends/googletest/googletest/include)
|
|
|
|
target_link_libraries(${name} dfhack gtest SDL)
|
|
|
|
target_link_libraries(${name} dfhack gtest)
|
|
|
|
add_test(NAME ${name} COMMAND ${name})
|
|
|
|
add_test(NAME ${name} COMMAND ${name})
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
endmacro()
|
|
|
|
endmacro()
|
|
|
|