Actually use the given libtype when building library
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
parent
512a39e158
commit
b84db6aa2d
|
@ -59,7 +59,7 @@ endif ()
|
||||||
|
|
||||||
file(GLOB_RECURSE LIBRARY_SRC_FILES
|
file(GLOB_RECURSE LIBRARY_SRC_FILES
|
||||||
"src/*.cpp" "src/*.hpp" "CInterface/*.cpp" "CInterface/*.hpp")
|
"src/*.cpp" "src/*.hpp" "CInterface/*.cpp" "CInterface/*.hpp")
|
||||||
add_library(CreatureLib SHARED ${LIBRARY_SRC_FILES})
|
add_library(CreatureLib ${LIBTYPE} ${LIBRARY_SRC_FILES})
|
||||||
target_precompile_headers(CreatureLib PUBLIC src/Precompiled.hxx)
|
target_precompile_headers(CreatureLib PUBLIC src/Precompiled.hxx)
|
||||||
|
|
||||||
# If interprocedural optimization is available, apply it
|
# If interprocedural optimization is available, apply it
|
||||||
|
|
Loading…
Reference in New Issue