mirror of
https://github.com/SFML/SFML.git
synced 2025-02-22 22:36:02 +08:00
Revert to no -s suffix for sfml-main
This commit is contained in:
parent
8db4a58ce0
commit
a666ab2b65
@ -15,6 +15,13 @@ endif()
|
||||
# define the sfml-main target
|
||||
sfml_add_library(Main STATIC SOURCES ${SRC})
|
||||
|
||||
# don't use -s suffix for sfml-main
|
||||
set_target_properties(sfml-main PROPERTIES
|
||||
DEBUG_POSTFIX -d
|
||||
RELEASE_POSTFIX ""
|
||||
MINSIZEREL_POSTFIX ""
|
||||
RELWITHDEBINFO_POSTFIX "")
|
||||
|
||||
if(SFML_OS_ANDROID)
|
||||
# ensure that linking into shared libraries doesn't fail
|
||||
set_target_properties(sfml-main PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
||||
|
Loading…
x
Reference in New Issue
Block a user