diff --git a/libs/Common/CMakeLists.txt b/libs/Common/CMakeLists.txt index b14bf2926..631164e61 100644 --- a/libs/Common/CMakeLists.txt +++ b/libs/Common/CMakeLists.txt @@ -9,7 +9,7 @@ FILE(GLOB LIBRARY_FILES_H "*.h" "*.inl") LIST(REMOVE_ITEM LIBRARY_FILES_C ${PCH_C}) SET(LIBRARY_FILES_C "${PCH_C};${LIBRARY_FILES_C}") -cxx_library_with_type_no_pch(Common "Libs" "STATIC" "${cxx_default}" +cxx_library_with_type_no_pch(Common "Libs" "" "${cxx_default}" ${LIBRARY_FILES_C} ${LIBRARY_FILES_H} ) diff --git a/libs/IO/CMakeLists.txt b/libs/IO/CMakeLists.txt index fdf4fb92b..14d4d942f 100644 --- a/libs/IO/CMakeLists.txt +++ b/libs/IO/CMakeLists.txt @@ -35,7 +35,7 @@ FILE(GLOB LIBRARY_FILES_H "*.h" "*.inl") LIST(REMOVE_ITEM LIBRARY_FILES_C ${PCH_C}) SET(LIBRARY_FILES_C "${PCH_C};${LIBRARY_FILES_C}") -cxx_library_with_type_no_pch(IO "Libs" "STATIC" "${cxx_default}" +cxx_library_with_type_no_pch(IO "Libs" "" "${cxx_default}" ${LIBRARY_FILES_C} ${LIBRARY_FILES_H} ) diff --git a/libs/Math/CMakeLists.txt b/libs/Math/CMakeLists.txt index 0c8474941..23db6f06a 100644 --- a/libs/Math/CMakeLists.txt +++ b/libs/Math/CMakeLists.txt @@ -23,7 +23,7 @@ SOURCE_GROUP("TRWS" FILES ${TRWS_LIBRARY_FILES_C} ${TRWS_LIBRARY_FILES_H}) LIST(REMOVE_ITEM LIBRARY_FILES_C ${PCH_C}) SET(LIBRARY_FILES_C "${PCH_C};${LIBRARY_FILES_C}") -cxx_library_with_type_no_pch(Math "Libs" "STATIC" "${cxx_default}" +cxx_library_with_type_no_pch(Math "Libs" "" "${cxx_default}" ${LIBRARY_FILES_C} ${LIBRARY_FILES_H} ${IBFS_LIBRARY_FILES_C} ${IBFS_LIBRARY_FILES_H} ${LMFit_LIBRARY_FILES_C} ${LMFit_LIBRARY_FILES_H}