CMakeLists.txt
changeset 8297 be2102f000d0
parent 8248 427d0a6f5af7
child 8299 ee0d04aa70da
     1.1 --- a/CMakeLists.txt	Thu Mar 06 20:02:17 2014 -0800
     1.2 +++ b/CMakeLists.txt	Fri Mar 07 00:18:37 2014 -0500
     1.3 @@ -1256,7 +1256,7 @@
     1.4    set (BUILD_SHARED_LIBS FALSE)
     1.5    add_library(SDL2-static STATIC ${SOURCE_FILES})
     1.6    set_target_properties(SDL2-static PROPERTIES OUTPUT_NAME "SDL2")
     1.7 -  if(WINDOWS)
     1.8 +  if(MSVC)
     1.9      set_target_properties(SDL2-static PROPERTIES LINK_FLAGS_RELEASE "/NODEFAULTLIB")
    1.10      set_target_properties(SDL2-static PROPERTIES LINK_FLAGS_DEBUG "/NODEFAULTLIB")
    1.11      set_target_properties(SDL2-static PROPERTIES STATIC_LIBRARY_FLAGS "/NODEFAULTLIB")