SET_PROPERTY(TARGET libbase64_live555 PROPERTY IMPORTED_LOCATION base64_live555/libbase64_live555.a) SET_PROPERTY(TARGET libbase64_live555 PROPERTY IMPORTED_LOCATION. I tried lots of SET_PROPERTY like these: SET_PROPERTY(TARGET libbase64_live555 PROPERTY IMPORTED_LOCATION. I tried on the second though, but who knows. However, I don't know if they are in the first compilation. The libraries are in the location I pointed. Since cmake gives no errors, even if I do target_link_libraries(myRtspClient eewgg dsgsg dgsgsdgsg) #install(TARGETS myRtspClient DESTINATION /usr/lib)Īs you see, I'm trying to create the target myRtspClient by linking it with libmd5 libbase64_live555 libjrtp. Target_link_libraries(myRtspClient libmd5 libbase64_live555 libjrtp) SET_PROPERTY(TARGET libjrtp PROPERTY IMPORTED_LOCATION. md5/libmd5.a)Īdd_library(libbase64_live555 STATIC IMPORTED) SET_PROPERTY(TARGET libmd5 PROPERTY IMPORTED_LOCATION. Include_directories(./third_party/JRTPLIB/src)Īdd_library(myRtspClient STATIC $) Include_directories(./third_party/md5/include) Here's my CMakeLists.txt cmake_minimum_required(VERSION 2.8)Īdd_subdirectory(./third_party/Base64_live555 base64_live555)Īdd_subdirectory(./third_party/JRTPLIB jrtplib) I'm trying to create a static library of static libraries.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |