diff --git a/CMakeLists.txt b/CMakeLists.txt index 1fea80fdcb..122fc559bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3013,7 +3013,7 @@ if(SDL_STATIC) endif() # TODO: Win32 platforms keep the same suffix .lib for import and static # libraries - do we need to consider this? - target_link_libraries(SDL2-static PRIVATE ${EXTRA_LIBS} ${EXTRA_LDFLAGS} ${EXTRA_LDFLAGS_BUILD}) + target_link_libraries(SDL2-static PRIVATE ${EXTRA_LIBS} ${EXTRA_LDFLAGS}) target_include_directories(SDL2-static BEFORE PRIVATE "${SDL2_BINARY_DIR}/include") target_include_directories(SDL2-static PUBLIC "$" $ $) # This picks up all the compiler options and such we've accumulated up to here.