Permalink
Browse files

CMake bugs squashed

  • Loading branch information...
1 parent ffe225c commit cea1b387f9a1ec19dedbc4e82c031d3fe04cf180 @gamaral committed Mar 27, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/core/CMakeLists.txt
  2. +1 −1 src/entrypoint/CMakeLists.txt
@@ -13,7 +13,7 @@ set(MARSHMALLOW_CORE_LIBS ${MARSHMALLOW_CORE_LIBS} ${ZLIB_LIBRARIES})
# platform specific implementations
if(UNIX)
set(MARSHMALLOW_CORE_SRCS ${MARSHMALLOW_CORE_SRCS} unix/platform.cpp)
-else(WIN32)
+elseif(WIN32)
set(MARSHMALLOW_CORE_SRCS ${MARSHMALLOW_CORE_SRCS} win32/platform.cpp)
set(MARSHMALLOW_CORE_LIBS ${MARSHMALLOW_CORE_LIBS} Winmm)
endif()
@@ -4,7 +4,7 @@ file(GLOB MARSHMALLOW_ENTRYPOINT_SRCS *.cpp)
if(UNIX)
set(MARSHMALLOW_ENTRYPOINT_SRCS ${MARSHMALLOW_ENTRYPOINT_SRCS} unix/platform.cpp)
-else(WIN32)
+elseif(WIN32)
set(MARSHMALLOW_ENTRYPOINT_SRCS ${MARSHMALLOW_ENTRYPOINT_SRCS} win32/platform.cpp)
endif()

0 comments on commit cea1b38

Please sign in to comment.