mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
CMake: Build "game" as a MODULE instead of as SHARED
This avoids building an unwanted libgame.dll.a when cross-compiling for Windows.
This commit is contained in:
parent
e467850800
commit
1950e7ff8f
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ set(Server-Header
|
|||
)
|
||||
|
||||
# Build the game dynamic library
|
||||
add_library(game SHARED ${Game-Source} ${Game-Header})
|
||||
add_library(game MODULE ${Game-Source} ${Game-Header})
|
||||
set_target_properties(game PROPERTIES
|
||||
PREFIX ""
|
||||
RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/Debug/baseq2
|
||||
|
|
Loading…
Reference in a new issue