[CMake] install target problem on Mac

Robert Bielik Robert.Bielik at dirac.se
Tue Apr 26 06:33:10 EDT 2016


Updated to CMake 3.5.2, and now the same CmakeLists.txt works fine. Oh well :) 

Rgrds
/R

-----Original Message-----
From: CMake [mailto:cmake-bounces at cmake.org] On Behalf Of Robert Bielik
Sent: den 26 april 2016 11:18
To: cmake at cmake.org
Subject: [CMake] install target problem on Mac

Using Cmake 3.0.1 I have a dynlib target:

ADD_LIBRARY(myDynlib SHARED ${SOURCES})

and

INSTALL(TARGETS myDynlib
   LIBRARY DESTINATION ${OUTPUT_PATH}/lib
)

however, building the install target, no files end up in ${OUTPUT_PATH}/lib .

Help?
/R
 
-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake


More information about the CMake mailing list