Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
CoMISo
CoMISo
Commits
1c054780
Commit
1c054780
authored
Feb 21, 2019
by
Max Lyon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use REQUIRED in find_package(GMM) instead of fatal error
parent
f7ec3435
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
CMakeLists.txt
CMakeLists.txt
+1
-2
No files found.
CMakeLists.txt
View file @
1c054780
...
...
@@ -60,14 +60,13 @@ else()
endif
()
find_package
(
GMM
)
find_package
(
GMM
REQUIRED
)
if
(
GMM_FOUND
)
set
(
COMISO_GMM_CONFIG_FILE_SETTINGS
"#define COMISO_GMM_AVAILABLE 1"
)
list
(
APPEND COMISO_INCLUDE_DIRECTORIES
${
GMM_INCLUDE_DIR
}
)
list
(
APPEND NEED_LAPACK
"GMM"
)
else
()
set
(
COMISO_GMM_CONFIG_FILE_SETTINGS
"#define COMISO_GMM_AVAILABLE 0"
)
message
(
FATAL_ERROR
"GMM not found!"
)
endif
()
set
(
TMP_CMAKE_FIND_LIBRARY_PREFIXES
"
${
CMAKE_FIND_LIBRARY_PREFIXES
}
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment