Skip to content

Commit

Permalink
thirdparty/OGDF: Set OGDF_MEMORY_POOL_NTS compilation define with MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
anlambert committed Jun 7, 2024
1 parent 3af8ce5 commit 4685f8f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion thirdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
DISABLE_COMPILER_WARNINGS()

ADD_SUBDIRECTORY(gzstream)

IF(MSVC)
SET(OGDF_MEMORY_MANAGER "POOL_NTS")
ENDIF(MSVC)

ADD_SUBDIRECTORY(OGDF)
ADD_SUBDIRECTORY(antlr)
ADD_SUBDIRECTORY(xdkbibtex)
Expand All @@ -9,11 +14,12 @@ ADD_SUBDIRECTORY(libvpsc)
IF(NOT TALIPOT_BUILD_CORE_ONLY OR TALIPOT_BUILD_OGL)
ADD_SUBDIRECTORY(ftgl)
ADD_SUBDIRECTORY(libtess2)

IF(NOT QUAZIP_FOUND)
SET(QUAZIP_QT_MAJOR_VERSION ${QT_MAJOR_VERSION})
ADD_SUBDIRECTORY(quazip-1.4)
ENDIF(NOT QUAZIP_FOUND)
ENDIF(NOT TALIPOT_BUILD_CORE_ONLY OR TALIPOT_BUILD_OGL)

INSTALL(DIRECTORY parallel_hashmap
DESTINATION ${TalipotIncludeInstallDir}/talipot/)
DESTINATION ${TalipotIncludeInstallDir}/talipot/)

0 comments on commit 4685f8f

Please sign in to comment.