chore(build): migrate to system lib

This commit is contained in:
fallenoak 2020-12-02 20:04:02 -06:00
parent aa616b75b5
commit 6ac442e473
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
16 changed files with 54 additions and 60 deletions

View file

@ -5,7 +5,7 @@ file(GLOB STORM_SOURCES
"thread/*.cpp"
)
if(WHOA_PLATFORM_WIN)
if(WHOA_SYSTEM_WIN)
file(GLOB STORM_WIN_SOURCES
"win/*.cpp"
"thread/win/*.cpp"
@ -13,7 +13,7 @@ if(WHOA_PLATFORM_WIN)
list(APPEND STORM_SOURCES ${STORM_WIN_SOURCES})
endif()
if(WHOA_PLATFORM_MAC)
if(WHOA_SYSTEM_MAC)
file(GLOB STORM_MAC_SOURCES
"mac/*.cpp"
"mac/*.mm"
@ -31,3 +31,8 @@ target_include_directories(storm
PUBLIC
${PROJECT_SOURCE_DIR}
)
target_link_libraries(storm
PRIVATE
system
)