chore(build): make platform and arch defines more specific

This commit is contained in:
fallenoak 2020-11-24 17:29:31 -06:00
parent 5e2001a164
commit be391c6592
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
12 changed files with 41 additions and 41 deletions

View file

@ -1,6 +1,6 @@
file(GLOB_RECURSE TEST_SOURCES "*.cpp")
if(PLATFORM_MAC)
if(WHOA_PLATFORM_MAC)
set_source_files_properties(${TEST_SOURCES}
PROPERTIES COMPILE_FLAGS "-x objective-c++"
)
@ -16,7 +16,7 @@ if(PLATFORM_MAC)
)
endif()
if(PLATFORM_LINUX OR PLATFORM_WIN)
if(WHOA_PLATFORM_LINUX OR WHOA_PLATFORM_WIN)
add_executable(StormTest ${TEST_SOURCES})
target_link_libraries(StormTest