diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt index b0d73ab..b6d1a64 100644 --- a/src/client/CMakeLists.txt +++ b/src/client/CMakeLists.txt @@ -8,21 +8,21 @@ if (WHOA_SYSTEM_WIN) "gui/win/*.cpp" ) list(APPEND PRIVATE_SOURCES ${WIN_SOURCES}) -endif() +endif () if (WHOA_SYSTEM_MAC) file(GLOB MAC_SOURCES "gui/mac/*.cpp" ) list(APPEND PRIVATE_SOURCES ${MAC_SOURCES}) -endif() +endif () if (WHOA_SYSTEM_LINUX) file(GLOB LINUX_SOURCES "gui/linux/*.cpp" ) list(APPEND PRIVATE_SOURCES ${LINUX_SOURCES}) -endif() +endif () add_library(client STATIC ${PRIVATE_SOURCES} diff --git a/src/event/CMakeLists.txt b/src/event/CMakeLists.txt index 85eaa0b..6346430 100644 --- a/src/event/CMakeLists.txt +++ b/src/event/CMakeLists.txt @@ -5,28 +5,28 @@ if (WHOA_SYSTEM_WIN) "win/*.cpp" ) list(APPEND PRIVATE_SOURCES ${WIN_SOURCES}) -endif() +endif () -if(WHOA_SYSTEM_MAC) +if (WHOA_SYSTEM_MAC) file(GLOB MAC_SOURCES "mac/*.cpp" "mac/*.mm" ) list(APPEND PRIVATE_SOURCES ${MAC_SOURCES}) -endif() +endif () if (WHOA_SYSTEM_LINUX) file(GLOB LINUX_SOURCES "linux/*.cpp" ) list(APPEND PRIVATE_SOURCES ${LINUX_SOURCES}) -endif() +endif () # SDL has its own input event processing if (WHOA_BUILD_GLSDL) file(GLOB SDL_SOURCES "sdl/*.cpp") list(APPEND PRIVATE_SOURCES ${SDL_SOURCES}) -endif() +endif () add_library(event STATIC ${PRIVATE_SOURCES} @@ -51,4 +51,4 @@ if (WHOA_BUILD_GLSDL) target_link_libraries(event PRIVATE SDL2::SDL2-static) -endif() +endif ()