File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
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 @@ -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