X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2Fexamples%2Fplugins%2FCMakeLists.txt;h=e1f396bd35028707d692014b157b7afe27fd4e74;hb=65e11480407fe343b2b56098257e0bb837f75df3;hp=90cd146323fbe64de7d12f006ae04bb905ce4288;hpb=6a541441b605b00b77d8f8e2b024cc709fda20b9;p=cpPlugins.git diff --git a/appli/examples/plugins/CMakeLists.txt b/appli/examples/plugins/CMakeLists.txt index 90cd146..e1f396b 100644 --- a/appli/examples/plugins/CMakeLists.txt +++ b/appli/examples/plugins/CMakeLists.txt @@ -12,13 +12,16 @@ FILE( ## ========================== ## == Compile source files == ## ========================== - +INCLUDE_DIRECTORIES( + ${PROJECT_SOURCE_DIR}/lib + ${PROJECT_BINARY_DIR}/lib + ) FOREACH(_src ${all_SOURCE_CXX_FILES}) GET_FILENAME_COMPONENT(_name ${_src} NAME_WE) ADD_EXECUTABLE(${_pfx}_${_name} ${_src}) TARGET_LINK_LIBRARIES( ${_pfx}_${_name} - ${cpPlugins_LIB} + cpPlugins ) ENDFOREACH(_src)