diff options
author | Chris Robinson <[email protected]> | 2017-07-07 18:48:19 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-07-07 18:48:19 -0700 |
commit | 09826cc6842d09fb046cd74744079944e84309cb (patch) | |
tree | f6aa8ac2719af518e34caaa8b2f85e89d0edafb4 | |
parent | e4e240fa9bcd85a9f5033f559ba15ca2d763de4c (diff) |
Set the proper ldflags for the router
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ffc9fd9e..cc1a7213 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1289,7 +1289,7 @@ if(WIN32 AND ALSOFT_BUILD_ROUTER) ADD_LIBRARY(Router SHARED router/router.c router/alc.c router/al.c ${COMMON_OBJS}) SET_PROPERTY(TARGET Router APPEND PROPERTY COMPILE_FLAGS ${EXTRA_CFLAGS}) SET_PROPERTY(TARGET Router APPEND PROPERTY COMPILE_DEFINITIONS AL_BUILD_LIBRARY AL_ALEXT_PROTOTYPES) - SET_PROPERTY(TARGET OpenAL APPEND_STRING PROPERTY LINK_FLAGS ${EXTRA_LDFLAGS}) + SET_PROPERTY(TARGET Router APPEND_STRING PROPERTY LINK_FLAGS ${EXTRA_LDFLAGS}) IF(MSVC) SET_PROPERTY(TARGET Router APPEND_STRING PROPERTY LINK_FLAGS " /SUBSYSTEM:WINDOWS") ELSEIF(CMAKE_COMPILER_IS_GNUCC) |