×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: CMake
Posted by: AG Verita
Added: Aug 10, 2016 6:03 AM
Modified: Aug 28, 2016 9:13 AM
Views: 12
Add_library etc for boost_1_61_0.test static library
  1. add_library(boost_unit_test_framework STATIC IMPORTED)
  2. set_target_properties(boost_unit_test_framework PROPERTIES IMPORTED_LOCATION
  3. /home/agverita/boost_1_61_0/stage/lib/libboost_unit_test_framework.a)
  4.  
  5. #add_executable(Name ...)
  6.  
  7. target_link_libraries(Name boost_unit_test_framework)