mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
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:
parent
e2cfdff23e
commit
973a7fa591
@ -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)
|
set_target_properties(sfml-main PROPERTIES DEBUG_POSTFIX -d)
|
||||||
|
|
||||||
# insert the major version number in the output filename
|
# 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")
|
||||||
|
Loading…
Reference in New Issue
Block a user