X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=examples-codegen%2Fexample1-client%2FCMakeLists.txt;h=520373d5b427a1d602a6c9adcac00174a2300f56;hp=ccfe1cacc0cfa31276b1e9311037b6d5985a0051;hb=7ba3852764765e4ffe3ee420f639bd7f6091ccf0;hpb=42d5cde75896853569f7669e47b66c671a917a4d diff --git a/examples-codegen/example1-client/CMakeLists.txt b/examples-codegen/example1-client/CMakeLists.txt index ccfe1ca..520373d 100644 --- a/examples-codegen/example1-client/CMakeLists.txt +++ b/examples-codegen/example1-client/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_SOURCES @@ -30,7 +30,8 @@ set(libt2n_example1_client_SOURCES add_executable(libt2n-example1-client ${libt2n_example1_client_SOURCES}) # Dependencies -target_link_libraries(libt2n-example1-client ${T2NEXAMPLE_LIBRARIES}) +# target_link_libraries(libt2n-example1-client ${T2NEXAMPLE_LIBRARIES}) +target_link_libraries(libt2n-example1-client t2nexample) # Installation # install(TARGETS libt2n-example1-client DESTINATION bin)