Open LourensVeen opened 3 years ago
Some instructions on how to link to MUSCLE3 from a CMakeLists.txt would be useful. It seems the following works on CMake 2.8 and up:
pkg_check_modules (LIBMUSCLE REQUIRED IMPORTED_TARGET libmuscle) pkg_check_modules (YMMSL REQUIRED IMPORTED_TARGET ymmsl) ADD_EXECUTABLE(myprogram myprogram.cpp) TARGET_LINK_LIBRARIES(myprogram PkgConfig::LIBMUSCLE) TARGET_LINK_LIBRARIES(myprogram PkgConfig::YMMSL)
Some instructions on how to link to MUSCLE3 from a CMakeLists.txt would be useful. It seems the following works on CMake 2.8 and up: