* Stuffextract should also use StormLib_static

This commit is contained in:
Shlainn 2011-12-12 15:14:10 +01:00
parent 41ca275866
commit 03d67b79eb

View File

@ -1,11 +1,11 @@
include_directories (${PROJECT_SOURCE_DIR}/src/dep/include ${PROJECT_SOURCE_DIR}/src/shared)
add_executable (stuffextract
add_executable (stuffextract
StuffExtract.cpp
)
# Link the executable to the libraries.
set(STUFFEXTRACT_LIBS shared StormLib zlib)
set(STUFFEXTRACT_LIBS shared StormLib_static zlib)
if(UNIX)
list(APPEND STUFFEXTRACT_LIBS bz2)
endif()
@ -13,6 +13,6 @@ if(WIN32)
list(APPEND STUFFEXTRACT_LIBS Winmm)
endif()
target_link_libraries (stuffextract ${STUFFEXTRACT_LIBS} )
target_link_libraries (stuffextract ${STUFFEXTRACT_LIBS} )
install(TARGETS stuffextract DESTINATION ${CMAKE_INSTALL_PREFIX})