Alain Leblanc a écrit :
cmake_minimum_required (VERSION 2.6)
project (Zou)
add_library(Matrix matrix.cpp)
add_library(Pose pose.cpp)
add_executable (Zou main.cpp)
link_libraries(Zou Pose Matrix)


Do you mean target_link_libraries() here? I don't see anything about
link_libraries()  in the cmake documentation.

That solved my problem. Thank you !
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to