diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2018-08-14 14:24:16 +0100 |
---|---|---|
committer | Edoardo Pasca <edo.paskino@gmail.com> | 2018-08-14 14:24:16 +0100 |
commit | 92794fd76d9b5274a7b9c48f4aa34c60d774f32a (patch) | |
tree | b716b31cb35994154bcc24214cecf1b32f573116 /Wrappers/Python | |
parent | 7fd01c558905d18960cc65168a3ae4844c1f8e38 (diff) | |
download | regularization-92794fd76d9b5274a7b9c48f4aa34c60d774f32a.tar.gz regularization-92794fd76d9b5274a7b9c48f4aa34c60d774f32a.tar.bz2 regularization-92794fd76d9b5274a7b9c48f4aa34c60d774f32a.tar.xz regularization-92794fd76d9b5274a7b9c48f4aa34c60d774f32a.zip |
use generator expression for location of built targets
Diffstat (limited to 'Wrappers/Python')
-rw-r--r-- | Wrappers/Python/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Wrappers/Python/CMakeLists.txt b/Wrappers/Python/CMakeLists.txt index 7679e68..eee4db9 100644 --- a/Wrappers/Python/CMakeLists.txt +++ b/Wrappers/Python/CMakeLists.txt @@ -122,11 +122,10 @@ if (PYTHONINTERP_FOUND) COMMAND ${CMAKE_COMMAND} -E env CIL_VERSION=${CIL_VERSION} PREFIX=${CMAKE_SOURCE_DIR}/Core LIBRARY_INC=${CMAKE_SOURCE_DIR}/Core - LIBRARY_LIB=${CMAKE_BINARY_DIR}/Core/${CMAKE_BUILD_TYPE} + LIBRARY_LIB=$<IF:WIN32,${CMAKE_BINARY_DIR}/Core/${CMAKE_BUILD_TYPE},${CMAKE_BINARY_DIR}/Core/> ${PYTHON_EXECUTABLE} ${SETUP_PY} build_ext --inplace COMMAND ${CMAKE_COMMAND} -E touch ${OUTPUT} DEPENDS cilreg) - endif() |