Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit82b4c24

Browse files
apnbugmaster
apn
authored and
bugmaster
committed
Update of template for compilation in debug mode
1 parent32d5cd7 commit82b4c24

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

‎adm/templates/vtk.cmake

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,13 @@ if (3RDPARTY_VTK_DIR AND EXISTS "${3RDPARTY_VTK_DIR}")
5757
if (NOT3RDPARTY_VTK_LIBRARY_DIRORNOTEXISTS"${3RDPARTY_VTK_LIBRARY_DIR}")
5858
if(EXISTS"${3RDPARTY_VTK_DIR}/lib${BUILD_POSTFIX}")
5959
set (3RDPARTY_VTK_LIBRARY_DIR"${3RDPARTY_VTK_DIR}/lib${BUILD_POSTFIX}"CACHEFILEPATH"The directory containing libs of VTK"FORCE)
60-
endif()
61-
else()
60+
else()
61+
if (NOT"${BUILD_POSTFIX}"STREQUAL""ANDEXISTS"${3RDPARTY_VTK_DIR}/lib")
62+
set (3RDPARTY_VTK_LIBRARY_DIR"${3RDPARTY_VTK_DIR}/lib"CACHEFILEPATH"The directory containing libs of VTK"FORCE)
63+
endif()
64+
endif()
65+
endif()
66+
if(3RDPARTY_VTK_LIBRARY_DIR)
6267
list (APPEND3RDPARTY_LIBRARY_DIRS"${3RDPARTY_VTK_LIBRARY_DIR}")
6368
endif()
6469
endif()
@@ -107,7 +112,11 @@ if (WIN32)
107112
if (NOT3RDPARTY_VTK_DLL_DIRORNOTEXISTS"${3RDPARTY_VTK_DLL_DIR}")
108113
if(EXISTS"${3RDPARTY_VTK_DIR}/bin${BUILD_POSTFIX}")
109114
set (3RDPARTY_VTK_DLL_DIR"${3RDPARTY_VTK_DIR}/bin${BUILD_POSTFIX}"CACHEFILEPATH"The directory containing dll of VTK"FORCE)
110-
endif()
115+
else()
116+
if (NOT"${BUILD_POSTFIX}"STREQUAL""ANDEXISTS"${3RDPARTY_VTK_DIR}/bin")
117+
set (3RDPARTY_VTK_DLL_DIR"${3RDPARTY_VTK_DIR}/bin"CACHEFILEPATH"The directory containing dll of VTK"FORCE)
118+
endif()
119+
endif()
111120
endif()
112121
endif()
113122

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp