mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-03 00:38:58 +00:00
Use the older command
This commit is contained in:
@@ -49,7 +49,7 @@ elseif(WIN32)
|
|||||||
endif()
|
endif()
|
||||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||||
# In Ubuntu, the executable would be recognized as a shared library otherwise.
|
# In Ubuntu, the executable would be recognized as a shared library otherwise.
|
||||||
target_link_options(threeSD PRIVATE "-no-pie")
|
set_target_properties(threeSD PROPERTIES LINK_FLAGS "-no-pie")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_compile_definitions(threeSD PRIVATE
|
target_compile_definitions(threeSD PRIVATE
|
||||||
|
|||||||
Reference in New Issue
Block a user