Commit 0a04ca53 authored by T.J. Corona's avatar T.J. Corona

CMB: expose smtk_DIR to dependent projects

parent ad53adf7
Pipeline #128900 running with stage
......@@ -91,6 +91,14 @@ superbuild_add_project(cmb
${cmb_response_file})
if (WIN32)
set(smtk_config_dir <INSTALL_DIR>/smtk/${smtk_version}/cmake)
else ()
set(smtk_config_dir <INSTALL_DIR>/lib/cmake/smtk/${smtk_version})
endif ()
superbuild_add_extra_cmake_args(-Dsmtk_DIR:PATH=${smtk_config_dir})
if ((CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS "7.0") OR
(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS "3.5"))
superbuild_append_flags(cxx_flags "-Wno-inconsistent-missing-override" PROJECT_ONLY)
......
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