Fixed output filename of sfml-main which didn't contain the major version number (when compiling with CMake)

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1564 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2010-09-05 17:28:48 +00:00
parent e2cfdff23e
commit 973a7fa591

View File

@ -6,4 +6,4 @@ add_library(sfml-main STATIC ${CMAKE_SOURCE_DIR}/src/SFML/Main/SFML_Main.cpp)
set_target_properties(sfml-main PROPERTIES DEBUG_POSTFIX -d)
# insert the major version number in the output filename
set_target_properties(${target} PROPERTIES OUTPUT_NAME "sfml${VERSION_MAJOR}-main")
set_target_properties(sfml-main PROPERTIES OUTPUT_NAME "sfml${VERSION_MAJOR}-main")