diff --git a/src/tools/stuffextract/CMakeLists.txt b/src/tools/stuffextract/CMakeLists.txt index 7614374..f4f068c 100644 --- a/src/tools/stuffextract/CMakeLists.txt +++ b/src/tools/stuffextract/CMakeLists.txt @@ -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})