Created
January 2, 2016 16:56
-
-
Save mcs07/541bcda4cfd6a7d8668b to your computer and use it in GitHub Desktop.
Fix indigo-depict link flags
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/utils/indigo-depict/CMakeLists.txt b/utils/indigo-depict/CMakeLists.txt | |
index ac7e6ec..34ae32d 100644 | |
--- a/utils/indigo-depict/CMakeLists.txt | |
+++ b/utils/indigo-depict/CMakeLists.txt | |
@@ -4,6 +4,7 @@ project(IndigoDepict) | |
include(DefineTest) | |
include_directories(../../api ../../api/plugins/renderer ../../common) | |
+include_directories(${IndigoRenderer_SOURCE_DIR} ${Indigo_SOURCE_DIR} ${Indigo_SOURCE_DIR}/src ${Cairo_SOURCE_DIR} ${Common_SOURCE_DIR} ${Common_SOURCE_DIR}/..) | |
add_executable(indigo-depict main.c) | |
if(APPLE) | |
@@ -13,11 +14,11 @@ if(APPLE) | |
target_link_libraries(indigo-depict ${FRAMEWORK_ApplicationServices}) | |
SET_TARGET_PROPERTIES(indigo-depict PROPERTIES LINK_FLAGS "${LINK_FLAGS} -Xlinker -framework -Xlinker ApplicationServices") | |
endif() | |
-target_link_libraries(indigo-depict indigo indigo-renderer) | |
+target_link_libraries(indigo-depict indigo-renderer indigo cairo png pixman) | |
if (UNIX) | |
set_target_properties(indigo-depict PROPERTIES LINK_FLAGS "-pthread") | |
endif() | |
pack_executable(indigo-depict) | |
add_test(NAME depict-simple-test COMMAND indigo-depict - "[CH2:1]=[CH:2][CH2:1][CH2:3][C:4](C)[CH2:3]" output.png) | |
-add_test(NAME depict-query-test COMMAND indigo-depict - "CC.[O-][*-]([O-])=O" query.png -query) | |
\ No newline at end of file | |
+add_test(NAME depict-query-test COMMAND indigo-depict - "CC.[O-][*-]([O-])=O" query.png -query) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment