diff options
Diffstat (limited to 'api_test')
-rw-r--r-- | api_test/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/api_test/CMakeLists.txt b/api_test/CMakeLists.txt index 3151ccc..2701abb 100644 --- a/api_test/CMakeLists.txt +++ b/api_test/CMakeLists.txt @@ -8,7 +8,11 @@ include_directories( ${PROJECT_SOURCE_DIR}/src ${PROJECT_BINARY_DIR}/src ) -target_link_libraries(api_test libcmark) +if(CMARK_SHARED) + target_link_libraries(api_test libcmark) +else() + target_link_libraries(api_test libcmark_static) +endif() # Compiler flags if(MSVC) |