mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 10:32:29 +00:00
chore(build): make platform and arch defines more specific
This commit is contained in:
parent
5e2001a164
commit
be391c6592
12 changed files with 41 additions and 41 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue