Build TKDND on Linux

This commit is contained in:
Matthias Hochsteger 2017-09-14 16:35:43 +02:00
parent 1c1159bd70
commit 99a3c55cdc

View File

@ -93,6 +93,17 @@ elseif(WIN32)
list(APPEND NETGEN_DEPENDENCIES project_win_extlibs)
else(WIN32)
find_package(TCL 8.5 REQUIRED)
ExternalProject_Add(project_tkdnd
GIT_REPOSITORY https://github.com/petasis/tkdnd.git
GIT_TAG d7cfd96087b248255da5349086ef70cc4bbfb619
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/tkdnd
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}/lib
UPDATE_COMMAND ""
LOG_DOWNLOAD 1
LOG_BUILD 1
LOG_INSTALL 1
)
list(APPEND NETGEN_DEPENDENCIES project_tkdnd)
endif(APPLE)
# Propagate settings to Netgen subproject