Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
ba190d88
Commit
ba190d88
authored
15 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
tweak occ_lib
parent
44aefc87
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+2
-2
2 additions, 2 deletions
CMakeLists.txt
with
2 additions
and
2 deletions
CMakeLists.txt
+
2
−
2
View file @
ba190d88
...
@@ -445,13 +445,13 @@ if(ENABLE_OCC)
...
@@ -445,13 +445,13 @@ if(ENABLE_OCC)
list
(
LENGTH OCC_LIBS_REQUIRED NUM_OCC_LIBS_REQUIRED
)
list
(
LENGTH OCC_LIBS_REQUIRED NUM_OCC_LIBS_REQUIRED
)
set
(
OCC_LIBS
)
set
(
OCC_LIBS
)
foreach
(
OCC
${
OCC_LIBS_REQUIRED
}
)
foreach
(
OCC
${
OCC_LIBS_REQUIRED
}
)
set
(
OCC_LIB OCC_LIB-NOTFOUND CACHE INTERNAL
""
)
# unset(OCC_LIB CACHE) # cleaner, but only available in cmake >= 2.6.4
find_library
(
OCC_LIB
${
OCC
}
PATHS ENV CASROOT PATH_SUFFIXES lib
find_library
(
OCC_LIB
${
OCC
}
PATHS ENV CASROOT PATH_SUFFIXES lib
${
OCC_SYS_NAME
}
/lib
)
${
OCC_SYS_NAME
}
/lib
)
if
(
OCC_LIB
)
if
(
OCC_LIB
)
list
(
APPEND OCC_LIBS
${
OCC_LIB
}
)
list
(
APPEND OCC_LIBS
${
OCC_LIB
}
)
endif
(
OCC_LIB
)
endif
(
OCC_LIB
)
set
(
OCC_LIB OCC_LIB-NOTFOUND CACHE INTERNAL
""
)
# unset(OCC_LIB CACHE) # cleaner, but only available in cmake >= 2.6.4
endforeach
(
OCC
)
endforeach
(
OCC
)
list
(
LENGTH OCC_LIBS NUM_OCC_LIBS
)
list
(
LENGTH OCC_LIBS NUM_OCC_LIBS
)
if
(
NUM_OCC_LIBS EQUAL NUM_OCC_LIBS_REQUIRED
)
if
(
NUM_OCC_LIBS EQUAL NUM_OCC_LIBS_REQUIRED
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment