mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 20:46:41 +08:00
4ff2d52566
* [libsbml] Update, port fixes * [check] Follow VCPKG_LIBRARY_LINKAGE * [check] Don't install checkmk * [check] Burn-in dllimport * [libsbml] Devendor dirent * [libsbml] Burn-in library linkage * Finish * Fix typo * [libsbml] Shorten patch
15 lines
532 B
Diff
15 lines
532 B
Diff
diff --git a/src/sbml/test/CMakeLists.txt b/src/sbml/test/CMakeLists.txt
|
|
index 7a408d7..462d58a 100644
|
|
--- a/src/sbml/test/CMakeLists.txt
|
|
+++ b/src/sbml/test/CMakeLists.txt
|
|
@@ -49,6 +49,9 @@ if (EXTRA_INCLUDE_DIRS)
|
|
include_directories(${EXTRA_INCLUDE_DIRS})
|
|
endif(EXTRA_INCLUDE_DIRS)
|
|
|
|
+if(NOT TARGET ${LIBSBML_LIBRARY}-static)
|
|
+ add_library(${LIBSBML_LIBRARY}-static ALIAS ${LIBSBML_LIBRARY})
|
|
+endif()
|
|
|
|
add_executable(test_sbml_sbml ${TEST_FILES})
|
|
target_link_libraries(test_sbml_sbml ${LIBSBML_LIBRARY}-static CHECK::CHECK)
|