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