ugh unit tests don't work on our OSX build either

develop
Myk Taylor 2022-11-30 06:57:11 -08:00
parent 5d08a0f765
commit cf24fc7829
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

@ -423,7 +423,7 @@ add_subdirectory(depends)
# Testing with CTest
macro(dfhack_test name files)
if(UNIX) # 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})
target_include_directories(${name} PUBLIC depends/googletest/googletest/include)
target_link_libraries(${name} dfhack gtest SDL)

@ -4,7 +4,7 @@ add_subdirectory(lua)
add_subdirectory(md5)
add_subdirectory(protobuf)
if(UNIX) # 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
option(INSTALL_GTEST "Enable installation of googletest. (Projects embedding googletest may want to turn this OFF.)" OFF)
add_subdirectory(googletest)
if(UNIX)