Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
69e5ccf8
Commit
69e5ccf8
authored
9 years ago
by
Hahn, Steven
Browse files
Options
Downloads
Patches
Plain Diff
Refs #14013. Define preprocessor directive project-wide.
parent
82922f6f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Framework/Geometry/CMakeLists.txt
+0
-2
0 additions, 2 deletions
Framework/Geometry/CMakeLists.txt
buildconfig/CMake/CommonSetup.cmake
+5
-0
5 additions, 0 deletions
buildconfig/CMake/CommonSetup.cmake
with
5 additions
and
2 deletions
Framework/Geometry/CMakeLists.txt
+
0
−
2
View file @
69e5ccf8
...
...
@@ -398,10 +398,8 @@ endif(UNITY_BUILD)
# ===================== Open Cascade ===================
if
(
ENABLE_OPENCASCADE
)
find_package
(
OpenCascade REQUIRED
)
include_directories
(
system
${
OPENCASCADE_INCLUDE_DIR
}
)
set
(
SRC_FILES
${
SRC_FILES
}
${
OPENCASCADE_SRC
}
)
add_definitions
(
-DENABLE_OPENCASCADE
)
endif
()
# A few defines needed for OpenCascade on the Mac
...
...
This diff is collapsed.
Click to expand it.
buildconfig/CMake/CommonSetup.cmake
+
5
−
0
View file @
69e5ccf8
...
...
@@ -57,6 +57,11 @@ find_package ( MuParser REQUIRED )
find_package
(
JsonCPP REQUIRED
)
include_directories
(
SYSTEM
${
JSONCPP_INCLUDE_DIR
}
)
if
(
ENABLE_OPENCASCADE
)
find_package
(
OpenCascade REQUIRED
)
add_definitions
(
-DENABLE_OPENCASCADE
)
endif
()
find_package
(
Doxygen
)
# optional
# Need to change search path to find zlib include on Windows.
...
...
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