star-mc

Parallel estimation of Monte Carlo integrators
git clone git://git.meso-star.fr/star-mc.git
Log | Files | Refs | README | LICENSE

commit b76078b7f01162598a5901aaf02f80ed1b90697f
parent 718dfa62ad7bd6568c4e0d8a7e158eef356ef2cf
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu,  2 Apr 2015 09:08:37 +0200

Fix the cmake install target

Diffstat:
Mcmake/CMakeLists.txt | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -58,8 +58,8 @@ set(SMC_FILES_SRC smc_device.c smc_integrator.c smc_type.c) +set(SMC_FILES_INC_API smc.h) set(SMC_FILES_INC - smc.h smc_device_c.h smc_type_real.h smc_type_c.h) @@ -67,8 +67,9 @@ set(SMC_FILES_INC # Prepend each file in the `SMC_FILES_<SRC|INC>' list by `SMC_SOURCE_DIR' rcmake_prepend_path(SMC_FILES_SRC ${SMC_SOURCE_DIR}) rcmake_prepend_path(SMC_FILES_INC ${SMC_SOURCE_DIR}) +rcmake_prepend_path(SMC_FILES_INC_API ${SMC_SOURCE_DIR}) -add_library(smc SHARED ${SMC_FILES_SRC} ${SMC_FILES_INC}) +add_library(smc SHARED ${SMC_FILES_SRC} ${SMC_FILES_INC} ${SMC_FILES_INC_API}) set_target_properties(smc PROPERTIES DEFINE_SYMBOL SMC_SHARED_BUILD VERSION ${VERSION} @@ -108,5 +109,5 @@ install(TARGETS smc ARCHIVE DESTINATION bin LIBRARY DESTINATION lib RUNTIME DESTINATION bin) -install(FILES ${SMC_FILES_INC} DESTINATION include/star) +install(FILES ${SMC_FILES_INC_API} DESTINATION include/star)