X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=examples-codegen%2Fexample1-client-wrapper%2FCMakeLists.txt;h=b54f1abd0a7501c1ebed03123ad4f25a61e9db50;hp=dbd8e916e32e0c636007a547c3f14dc463d1063a;hb=7ba3852764765e4ffe3ee420f639bd7f6091ccf0;hpb=42d5cde75896853569f7669e47b66c671a917a4d diff --git a/examples-codegen/example1-client-wrapper/CMakeLists.txt b/examples-codegen/example1-client-wrapper/CMakeLists.txt index dbd8e91..b54f1ab 100644 --- a/examples-codegen/example1-client-wrapper/CMakeLists.txt +++ b/examples-codegen/example1-client-wrapper/CMakeLists.txt @@ -13,13 +13,13 @@ set(CPACK_SOURCE_IGNORE_FILES "~$;\\\\.git;build;build-rpm") set(CPACK_SOURCE_PACKAGE_FILE_NAME "${PROJECT_NAME}-${VERSION}") # Find external packages -include(FindPkgConfig) +# include(FindPkgConfig) -pkg_check_modules(T2NEXAMPLE REQUIRED t2nexample=0.1) -include_directories(${T2NEXAMPLE_INCLUDE_DIRS}) -link_directories(${T2NEXAMPLE_LIBRARY_DIRS}) +# pkg_check_modules(T2NEXAMPLE REQUIRED t2nexample=0.1) +# include_directories(${T2NEXAMPLE_INCLUDE_DIRS}) +# link_directories(${T2NEXAMPLE_LIBRARY_DIRS}) -include(CPack) +# include(CPack) # Sources set(libt2n_example1_client_wrapper_SOURCES @@ -30,7 +30,8 @@ set(libt2n_example1_client_wrapper_SOURCES add_executable(libt2n-example1-client-wrapper ${libt2n_example1_client_wrapper_SOURCES}) # Dependencies -target_link_libraries(libt2n-example1-client-wrapper ${T2NEXAMPLE_LIBRARIES}) +# target_link_libraries(libt2n-example1-client-wrapper ${T2NEXAMPLE_LIBRARIES}) +target_link_libraries(libt2n-example1-client-wrapper t2nexample) # Installation # install(TARGETS libt2n-example1-client-wrapper DESTINATION bin)