File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,12 @@ if ((DEFINED Discregrid_INCLUDE_DIR) AND (DEFINED Discregrid_DEBUG_LIB) AND (DEF
4040else ()
4141 ExternalProject_Add(
4242 Ext_Discregrid
43- PREFIX "${ExternalInstallDir} /Discregrid"
43+ PREFIX "${CMAKE_BINARY_DIR} /extern /Discregrid"
4444 GIT_REPOSITORY https://github.com/InteractiveComputerGraphics/Discregrid.git
4545 GIT_TAG "0b69062ff9c56fbb6dcecd296652028bedbacf0e"
4646 INSTALL_DIR ${ExternalInstallDir} /Discregrid
4747 CMAKE_ARGS -DCMAKE_BUILD_TYPE:STRING =${EXT_CMAKE_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX:PATH =${ExternalInstallDir} /Discregrid
48- -DBUILD_AS_SHARED_LIBS:BOOL =0
49- -DBUILD_CMD_EXECUTABLE:BOOL =0 -DEIGEN3_INCLUDE_DIR:PATH =${EIGEN3_INCLUDE_DIR}
48+ -DBUILD_CMD_EXECUTABLE:BOOL =0 -DEIGEN3_INCLUDE_DIR:PATH =${EIGEN3_INCLUDE_DIR} -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS}
5049 )
5150 ExternalProject_Get_Property(Ext_Discregrid INSTALL_DIR)
5251 set (Discregrid_INCLUDE_DIR ${INSTALL_DIR} /include )
You can’t perform that action at this time.
0 commit comments