diff --git a/modules-local/fast-library/CMakeLists.txt b/modules-local/fast-library/CMakeLists.txt index 61c3d62f6a..3fd83bcb23 100644 --- a/modules-local/fast-library/CMakeLists.txt +++ b/modules-local/fast-library/CMakeLists.txt @@ -37,6 +37,7 @@ target_link_libraries(openfast_prelib orcaflexlib extptfm_mckflib openfoamtypeslib + sctypeslib feamlib moordynlib icedynlib diff --git a/modules-local/supercontroller/CMakeLists.txt b/modules-local/supercontroller/CMakeLists.txt index 9420bbb1b2..db77b6083f 100644 --- a/modules-local/supercontroller/CMakeLists.txt +++ b/modules-local/supercontroller/CMakeLists.txt @@ -16,15 +16,15 @@ generate_f90_types(src/SuperController_Registry.txt SuperController_Types.f90 -ccode) -add_library(scfastlib - src/SuperController.f90 +add_library(sctypeslib + SuperController_Types.f90) +target_link_libraries(sctypeslib nwtclibs) - # Autogenerated files - SuperController_Types.f90 - ) -target_link_libraries(scfastlib openfast_prelib nwtclibs) +add_library(scfastlib + src/SuperController.f90) +target_link_libraries(scfastlib sctypeslib openfast_prelib nwtclibs) -install(TARGETS scfastlib +install(TARGETS sctypeslib scfastlib RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)