Commit eeeb0bc5 authored by NICLAUSSE Nicolas's avatar NICLAUSSE Nicolas

fix cmake macro syntax + remove dtkMathSupport of

dtk_INCLUDE_DIRS (breaks dtkLinearAlgebraSparse build)
parent da730fa0
......@@ -24,7 +24,7 @@ project(dtk)
set(dtk_VERSION_MAJOR 1)
set(dtk_VERSION_MINOR 3)
set(dtk_VERSION_PATCH 3)
set(dtk_VERSION_PATCH 4)
set(dtk_VERSION
${dtk_VERSION_MAJOR}.${dtk_VERSION_MINOR}.${dtk_VERSION_PATCH})
......
......@@ -84,7 +84,7 @@ if(DTK_BUILD_COMPOSER)
endif(DTK_BUILD_COMPOSER)
if(DTK_BUILD_SCRIPT)
set(dtk_INCLUDE_DIRS ${dtk_INCLUDE_DIRS} "@CMAKE_INSTALL_PREFIX/include/dtkScript")
set(dtk_INCLUDE_DIRS ${dtk_INCLUDE_DIRS} "@CMAKE_INSTALL_PREFIX@/include/dtkScript")
endif(DTK_BUILD_SCRIPT)
if(DTK_BUILD_WIDGETS)
......@@ -100,7 +100,9 @@ if(DTK_BUILD_SUPPORT_CONTAINER)
endif(DTK_BUILD_SUPPORT_CONTAINER)
if(DTK_BUILD_SUPPORT_MATH)
set(dtk_INCLUDE_DIRS ${dtk_INCLUDE_DIRS} "@CMAKE_INSTALL_PREFIX@/include/dtkMathSupport")
# dtkMathSuppor has conflicts with dtkMath and dtkLinearAlgebraSparse. (<dtkMath> and <dtkVector> includes),
# don't add include/dtkMathSupport in the dtk_INCLUDE_DIRS
# set(dtk_INCLUDE_DIRS ${dtk_INCLUDE_DIRS} "@CMAKE_INSTALL_PREFIX@/include/dtkMathSupport")
endif(DTK_BUILD_SUPPORT_MATH)
## ###################################################################
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment