Skip to content

Commit

Permalink
Windows: Beginnings of the CMake fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Crawford authored and Justin Crawford committed May 28, 2013
1 parent abeb8f5 commit f5de8ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Expand Up @@ -390,7 +390,9 @@ if(SDL_Libs)
# Untested as of 05/07/13
set(PACKAGECOMMAND "${EMERG} ${SDL_Libs}")
else(EMERG)
message(FATAL_ERROR "Could not find a suitable package manager. Please install ${SDL_Libs} and re-run cmake (or ./configure)")
if(NOT WIN32)
message(FATAL_ERROR "Could not find a suitable package manager. Please install ${SDL_Libs} and re-run cmake (or ./configure)")
endif(NOT WIN32)
endif(EMERG)
endif(PKG)
endif(APT)
Expand Down
2 changes: 1 addition & 1 deletion src/splines/CMakeLists.txt
Expand Up @@ -10,5 +10,5 @@ list(SORT CXX_SOURCES)
set_source_files_properties(${CXX_SOURCES} PROPERTIES LANGUAGE CXX COMPILE_FLAGS "${CXXFLAGS} -g")

# Add to our library.
add_library(splines.a STATIC ${CXX_SOURCES})
add_library(splines${CMAKE_STATIC_LIBRARY_SUFFIX} STATIC ${CXX_SOURCES})
set_target_properties(splines${CMAKE_STATIC_LIBRARY_SUFFIX} PROPERTIES LINKER_LANGUAGE CXX PREFIX "" SUFFIX "")

0 comments on commit f5de8ef

Please sign in to comment.