Merge pull request #1632 from PhenomRetroShare/Fix_CMark_CompilWithQtCreator

Fix CMark Compilation with QtCreator
This commit is contained in:
G10h4ck 2019-09-05 19:46:24 +02:00 committed by GitHub
commit c8f4f8ca04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,8 +50,8 @@ rs_gui_cmark {
message("Using compiled cmark")
CMARK_SRC_PATH=$$clean_path($${RS_SRC_PATH}/supportlibs/cmark)
CMARK_BUILD_PATH=$$clean_path($${RS_BUILD_PATH}/supportlibs/cmark/build)
INCLUDEPATH *= $$clean_path($${RS_SRC_PATH}/src/)
DEPENDPATH *= $$clean_path($${RS_SRC_PATH}/src/)
INCLUDEPATH *= $$clean_path($${CMARK_SRC_PATH}/src/)
DEPENDPATH *= $$clean_path($${CMARK_SRC_PATH}/src/)
QMAKE_LIBDIR *= $$clean_path($${CMARK_BUILD_PATH}/)
# Using sLibs would fail as libcmark.a is generated at compile-time
LIBS *= -L$$clean_path($${CMARK_BUILD_PATH}/src/) -lcmark