Hello, with cmake 2.8.12 get_target_property(LOCATION) isn't allowed anymore. I find the documentation for CMP0026 really confusing. Maybe someone can tell me what the way is how to do it.
I have: src/CMakeLists.txt: add_library(nss_wrapper SHARED nss_wrapper.c) get_target_property(NWRAP_LOCATION nss_wrapper LOCATION) set(NSS_WRAPPER_LOCATION ${NWRAP_LOCATION} PARENT_SCOPE) tests/CMakeLists.txt: set(TEST_ENVIRONMENT LD_PRELOAD=${NSS_WRAPPER_LOCATION}) So how do I get and set the location of the library with cmake 2.8.12 now? Thanks, -- andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.org a...@cryptomilk.org -- 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://www.cmake.org/mailman/listinfo/cmake