Folks, what can be the reason for install target not to be called? I
have something like this in my CMakeLists.txt:

  add_executable(foo src1 src2 src3)
  target_link_libraries(foo ${libs})
  install(PROGRAMS ${foo_BINARY_DIR}/foo
           DESTINATION ${foo_SOURCE_DIR}/bin
          )

And for some reason "cd build && cmake .. && make && make install"
doesn't install anything into bin directory while build completes
successfully and foo binary exists in ${foo_BINARY_DIR}

This is what "make install" says:

Install the project...
-- Install configuration: ""

...and nothing actually happens.

-- 
Best regards, Pavel
_______________________________________________
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