Skip to content

Commit e13b569

Browse files
committedMay 30, 2019
?
1 parent 28c801f commit e13b569

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed
 

‎.appveyor.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ install:
2222
- "python -c \"import numpy as np;import sys;print(np.get_include())\""
2323
init:
2424
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
25-
# on_finish:
26-
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
25+
on_finish:
26+
- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
2727
build:
2828
parallel: true
2929
build_script:

‎CMakeLists.txt

+10-10
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ include(CXXFeatures)
3232
# Sort projects inside the solution
3333
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
3434

35+
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
36+
foreach(config ${CMAKE_CONFIGURATION_TYPES})
37+
string(TOUPPER ${config} config)
38+
string(REPLACE /MD /MT CMAKE_C_FLAGS_${config} "${CMAKE_C_FLAGS_${config}}")
39+
string(REPLACE /MD /MT CMAKE_CXX_FLAGS_${config} "${CMAKE_CXX_FLAGS_${config}}")
40+
endforeach()
41+
endif()
42+
43+
44+
3545

3646
# LibIGL
3747
option(LIBIGL_USE_STATIC_LIBRARY "Use libigl as static library" OFF)
@@ -84,16 +94,6 @@ target_include_directories(pyigl PRIVATE "src/include")
8494
# set_target_properties(pyigl PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/igl")
8595

8696

87-
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
88-
foreach(config ${CMAKE_CONFIGURATION_TYPES})
89-
string(TOUPPER ${config} config)
90-
string(REPLACE /MD /MT CMAKE_C_FLAGS_${config} "${CMAKE_C_FLAGS_${config}}")
91-
string(REPLACE /MD /MT CMAKE_CXX_FLAGS_${config} "${CMAKE_CXX_FLAGS_${config}}")
92-
endforeach()
93-
endif()
94-
95-
96-
9797
if(${LIBIGL_PYTHON_TESTS})
9898
enable_testing()
9999
add_subdirectory(tests)

0 commit comments

Comments
 (0)
Please sign in to comment.