File tree Expand file tree Collapse file tree 4 files changed +14
-8
lines changed Expand file tree Collapse file tree 4 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,6 @@ after_build:
36
36
- cd C:\Qt\latest\msvc2017_64\bin
37
37
- windeployqt C:\projects\fish_deformation\unwind\unwind.exe
38
38
- cd C:\projects\fish_deformation
39
- - 7z a unwind.zip .\ unwind\*
39
+ - 7z a unwind.zip unwind\
40
40
artifacts :
41
41
- path : unwind.zip
Original file line number Diff line number Diff line change @@ -52,17 +52,17 @@ matrix:
52
52
osx_image : xcode10.2
53
53
compiler : clang
54
54
env :
55
- - MATRIX_EVAL="export CONFIG=Debug PYTHON=python3 LIBIGL_NUM_THREADS=1"
55
+ - MATRIX_EVAL="export CONFIG=Release PYTHON=python3 LIBIGL_NUM_THREADS=1"
56
56
- os : osx
57
57
osx_image : xcode10.2
58
58
compiler : clang
59
59
env :
60
- - MATRIX_EVAL="export CONFIG=Debug PYTHON=python3 LIBIGL_NUM_THREADS=1 CMAKE_EXTRA='-DLIBIGL_USE_STATIC_LIBRARY=OFF'"
60
+ - MATRIX_EVAL="export CONFIG=Release PYTHON=python3 LIBIGL_NUM_THREADS=1 CMAKE_EXTRA='-DLIBIGL_USE_STATIC_LIBRARY=OFF'"
61
61
- os : osx
62
62
osx_image : xcode10.2
63
63
compiler : clang
64
64
env :
65
- - MATRIX_EVAL="export CONFIG=Debug PYTHON=python3 LIBIGL_NUM_THREADS=1 CMAKE_EXTRA='-DLIBIGL_EIGEN_VERSION=3.3.7'""
65
+ - MATRIX_EVAL="export CONFIG=Release PYTHON=python3 LIBIGL_NUM_THREADS=1 CMAKE_EXTRA='-DLIBIGL_EIGEN_VERSION=3.3.7'""
66
66
67
67
install :
68
68
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH="/usr/local/opt/ccache/libexec:$PATH"; fi
Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ project(fish_deformation)
3
3
4
4
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR} /cmake)
5
5
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR} /src/utils/voroffset/cmake)
6
- set (CMAKE_PREFIX_PATH /usr/local/opt/qt/lib/cmake)
7
-
6
+ if (APPLE )
7
+ set (CMAKE_PREFIX_PATH /usr/local/opt/qt/lib/cmake)
8
+ endif ()
8
9
9
10
10
11
#################################
@@ -110,8 +111,12 @@ file(GLOB CT_SRCS external/Segmentangling/ContourTree/*.cpp)
110
111
set (CT_INCLUDE_DIRS external/Segmentangling/ContourTree)
111
112
list (REMOVE_ITEM CT_SRCS "${CMAKE_CURRENT_SOURCE_DIR} /external/Segmentangling/ContourTree/main.cpp" )
112
113
add_library (contourtree STATIC ${CT_SRCS} )
113
- # target_compile_options(contourtree PRIVATE "-fopenmp")
114
- target_link_libraries (contourtree Qt5::Core Qt5::Widgets spdlog)
114
+ if (NOT APPLE )
115
+ target_compile_options (contourtree PRIVATE "-fopenmp" )
116
+ target_link_libraries (contourtree Qt5::Core Qt5::Widgets -fopenmp spdlog)
117
+ else ()
118
+ target_link_libraries (contourtree Qt5::Core Qt5::Widgets spdlog)
119
+ endif ()
115
120
target_include_directories (contourtree PUBLIC ${CT_INCLUDE_DIRS} )
116
121
target_compile_definitions (contourtree PUBLIC CONTOUR_TREE_USE_SPDLOG)
117
122
Original file line number Diff line number Diff line change @@ -457,6 +457,7 @@ class BoundingCage {
457
457
458
458
bool bump (double amount) {
459
459
this ->_origin += amount * this ->normal ();
460
+ return true ;
460
461
}
461
462
462
463
// / Rotate the coordinate frame counter-clockwise about the normal axis
You can’t perform that action at this time.
0 commit comments