1 #set(stick_SRC test.cc)
3 #include_directories(${libstick_SOURCE_DIR}/include)
5 #add_library(stick SHARED ${stick_SRC})
6 #install(TARGETS stick DESTINATION lib)
8 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libstick.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/libstick.pc @ONLY)
9 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libstick.pc DESTINATION lib/pkgconfig COMPONENT "pkgconfig")