Skip to content

Commit c43cd7e

Browse files
authored
cmake: More fixes
1 parent 1113084 commit c43cd7e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ if (CMAKE_SYSTEM_PROCESSOR MATCHES "AMD64")
1616
endif()
1717

1818
# Statically link SDL3 for Linux targets
19-
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
20-
set(SDL_STATIC ON)
21-
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
22-
endif()
19+
set(SDL_STATIC ON)
20+
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
2321

2422
# if (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
2523
# add_custom_command(

0 commit comments

Comments
 (0)