Skip to content

Commit 4f0cb36

Browse files
committed
fixed cmakelists.txt
1 parent 9e0133d commit 4f0cb36

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

CMakeLists.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ if(WIN32)
204204
message(STATUS "Found MSVC compiler: ${MSVC} ${MSVC_VERSION}")
205205
set(LIBRARY_OUTPUT_PATH bin/)
206206
# prevent bigobj fatal error C1148 issue, and remove C4244 verbose warning
207-
add_definitions("/bigobj /wd4244")
207+
add_definitions("/bigobj /wd4244 /wd4251 /wd4275 /wd4290")
208208
elseif (BORLAND) # The compiler used is BORLAND
209209
set(LIBRARY_OUTPUT_PATH win${BIT}/bin/${CMAKE_BUILD_TYPE})
210210
else()
@@ -233,10 +233,8 @@ option_with_default(PYTHONOCC_WRAP_SMESH "Compile SMESH wrapper" FALSE)
233233
if(PYTHONOCC_WRAP_SMESH)
234234
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/SMESH_Modules.cmake)
235235
# need boost headers to compile
236-
#set(Boost_USE_STATIC_LIBS ON)
237-
#find_package(Boost COMPONENTS filesystem thread)
238-
#include_directories(${Boost_INCLUDE_DIRS})
239-
include_directories(D:/Devel/smesh/boost-1.52.0)
236+
find_package(Boost)
237+
include_directories(${Boost_INCLUDE_DIRS})
240238
# need vtk headers to compile
241239
#find_package(VTK COMPONENTS vtkCommonCore vtkCommonDataModel vtkIOLegacy vtkFiltersVerdict)
242240
#include_directories(${VTK_INCLUDE_DIRS})

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ test_script:
9090
# is set dynamically. This unfortunately mean that conda build --output
9191
# doesn't really work.
9292
#
93-
- "%CMD_IN_ENV% conda build .\\ci\\conda --quiet --no-remove-work-dir"
93+
- "%CMD_IN_ENV% conda build .\\ci\\conda --quiet --no-remove-work-dir --dirty"
9494
# move conda package to /dist
9595
- cmd: 'mkdir dist'
9696
- cmd: 'copy /Y %CONDA_INSTALL_LOCN%\conda-bld\win-%PYTHON_ARCH%\pythonocc*.bz2 dist || cmd /c "exit /b 0"'

0 commit comments

Comments
 (0)