diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2019-12-10 15:46:04 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2019-12-10 15:46:04 +0300 |
commit | 7ef4183d0fc893643b6a63887c797cbad3e3643c (patch) | |
tree | 5e7877baed138c84e81398db55502c86053d450e /deps | |
parent | 1355efbb67babab1cb1c476aafaaff0a562691a1 (diff) |
Fixes on the prusaslicer_add_cmake_project function
Diffstat (limited to 'deps')
-rw-r--r-- | deps/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index e23c5f908..03b11e259 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -45,6 +45,7 @@ option(DEP_WX_STABLE "Build against wxWidgets stable 3.0 as opposed to default 3 message(STATUS "PrusaSlicer deps DESTDIR: ${DESTDIR}") message(STATUS "PrusaSlicer deps debug build: ${DEP_DEBUG}") + function(prusaslicer_add_cmake_project projectname) cmake_parse_arguments(P_ARGS "" "INSTALL_DIR" "CMAKE_ARGS" ${ARGN}) @@ -62,10 +63,12 @@ function(prusaslicer_add_cmake_project projectname) CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:STRING=${DESTDIR}/usr/local -DCMAKE_PREFIX_PATH:STRING=${DESTDIR}/usr/local + -DCMAKE_DEBUG_POSTFIX:STRING=d -DCMAKE_C_COMPILER:STRING=${CMAKE_C_COMPILER} -DCMAKE_CXX_COMPILER:STRING=${CMAKE_CXX_COMPILER} -DBUILD_SHARED_LIBS:BOOL=OFF ${_configs_line} + ${DEP_CMAKE_OPTS} ${P_ARGS_CMAKE_ARGS} ${P_ARGS_UNPARSED_ARGUMENTS} ) |