Skip to content

Commit cb7d071

Browse files
committed
Update references and fix version inclusion
1 parent 88271ac commit cb7d071

File tree

9 files changed

+16
-230
lines changed

9 files changed

+16
-230
lines changed

CMake/NeighborhoodSearch.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ else(USE_GPU_NEIGHBORHOOD_SEARCH)
3232
ExternalProject_Add(
3333
Ext_NeighborhoodSearch
3434
PREFIX "${CMAKE_BINARY_DIR}/extern/CompactNSearch"
35-
GIT_REPOSITORY https://github.com/ruberith/CompactNSearch.git
36-
GIT_TAG "7c5280bc622c28f8bb18491a25852189bd8ffef8"
35+
GIT_REPOSITORY https://github.com/InteractiveComputerGraphics/CompactNSearch.git
36+
GIT_TAG "99fa1fe052f353b33957948f36e628500f1737f7"
3737
INSTALL_DIR ${ExternalInstallDir}/NeighborhoodSearch
3838
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${EXT_CMAKE_BUILD_TYPE} -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -DCMAKE_CXX_FLAGS_RELEASE=${CMAKE_CXX_FLAGS_RELEASE} -DCMAKE_INSTALL_PREFIX:PATH=${ExternalInstallDir}/NeighborhoodSearch -DUSE_DOUBLE_PRECISION:BOOL=${USE_DOUBLE_PRECISION} -DBUILD_DEMO:BOOL=OFF
3939
)

CMake/SetUpExternalProjects.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ include(NeighborhoodSearch)
1313
ExternalProject_Add(
1414
Ext_Discregrid
1515
PREFIX "${CMAKE_BINARY_DIR}/extern/Discregrid"
16-
GIT_REPOSITORY https://github.com/ruberith/Discregrid.git
17-
GIT_TAG "a9364dfc40617dcd1ec794f85ac32de359a11e8f"
16+
GIT_REPOSITORY https://github.com/InteractiveComputerGraphics/Discregrid.git
17+
GIT_TAG "4c27e1cc88be828c6ac5b8a05759ac7e01cf79e9"
1818
INSTALL_DIR ${ExternalInstallDir}/Discregrid
1919
CMAKE_ARGS -DCMAKE_BUILD_TYPE:STRING=${EXT_CMAKE_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX:PATH=${ExternalInstallDir}/Discregrid -DBUILD_CMD_EXECUTABLE:BOOL=0 -DEIGEN3_INCLUDE_DIR:PATH=${EIGEN3_INCLUDE_DIR} -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS}
2020
)
@@ -46,8 +46,8 @@ include(ExternalProject)
4646
ExternalProject_Add(
4747
Ext_PBD
4848
PREFIX "${CMAKE_BINARY_DIR}/extern/PositionBasedDynamics"
49-
GIT_REPOSITORY https://github.com/ruberith/PositionBasedDynamics.git
50-
GIT_TAG "3bdc9079b8354a8ee2c25c3d842f4e8c96077eb3"
49+
GIT_REPOSITORY https://github.com/InteractiveComputerGraphics/PositionBasedDynamics.git
50+
GIT_TAG "77298f1eac1246d5302fcdc026db8c6addf50e86"
5151
INSTALL_DIR ${ExternalInstallDir}/PositionBasedDynamics
5252
DEPENDS Ext_GenericParameters Ext_Discregrid
5353
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${EXT_CMAKE_BUILD_TYPE}

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ endif()
4545
## Eigen3 is used by most of the libraries that follow
4646
find_package(Eigen3 REQUIRED)
4747
add_definitions(-DEIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT)
48+
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
49+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -idirafter${EIGEN3_INCLUDE_DIR}")
50+
endif()
4851

4952
################################################################################
5053
# own external libraries

Utilities/CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if (${GIT_LOCAL_CHANGES} STREQUAL "DIRTY")
55
set(COMPILER_MESSAGE "#pragma WARNING(Local changes not committed.)")
66
endif()
77

8-
file (STRINGS "../version.txt" SPLISHSPLASH_VERSION)
8+
file (STRINGS "../version" SPLISHSPLASH_VERSION)
99

1010
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Version.h.in ${CMAKE_CURRENT_SOURCE_DIR}/Version.h @ONLY)
1111

@@ -28,5 +28,9 @@ add_library(Utilities
2828
)
2929

3030
add_dependencies(Utilities partio zlib)
31-
target_include_directories(Utilities PUBLIC ${TOPLEVEL_INCLUDE_DIR} ${EIGEN3_INCLUDE_DIR})
31+
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
32+
target_compile_options(Utilities PUBLIC -idirafter${TOPLEVEL_INCLUDE_DIR} -idirafter${EIGEN3_INCLUDE_DIR})
33+
else()
34+
target_include_directories(Utilities PUBLIC ${TOPLEVEL_INCLUDE_DIR} ${EIGEN3_INCLUDE_DIR})
35+
endif()
3236
target_link_libraries(Utilities INTERFACE partio zlib MD5)
File renamed without changes.

extern/oneDPL/LICENSE.txt

Lines changed: 0 additions & 218 deletions
This file was deleted.

extern/oneDPL/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def build_extension(self, ext):
116116
long_description = f.read()
117117

118118
# read version
119-
f = open("version.txt", "r")
119+
f = open("version", "r")
120120
splishsplash_version = f.readline().strip()
121121
f.close()
122122

version.txt renamed to version

File renamed without changes.

0 commit comments

Comments
 (0)