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
e5a0399f
Commit
e5a0399f
authored
Feb 21, 2019
by
Max Lyon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix IPOPT finder for windows
parent
6e6b9d44
Pipeline
#8764
failed with stages
in 7 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
cmake/FindIPOPT.cmake
cmake/FindIPOPT.cmake
+2
-1
No files found.
cmake/FindIPOPT.cmake
View file @
e5a0399f
...
...
@@ -77,11 +77,12 @@ if (WIN32)
SET
(
IPOPT_FOUND TRUE
)
SET
(
IPOPT_INCLUDE_DIRS
${
IPOPT_INCLUDE_DIR
}
)
SET
(
IPOPT_LIBRARY_DIRS
${
IPOPT_LIBRARY_DIR
}
)
set
(
IPOPT_LIBRARIES
"
${
IPOPT_LIBRARY
}
"
)
# Todo, set right version depending on build type (debug/release)
#GET_FILENAME_COMPONENT( IPOPT_LIBRARY_DIRS ${GLEW_LIBRARY} PATH )
ELSE
(
IPOPT_INCLUDE_DIR
)
SET
(
IPOPT_FOUND FALSE
)
SET
(
IPOPT_INCLUDE_DIR
${
IPOPT_INCLUDE_DIR
}
)
SET
(
IPOPT_INCLUDE_DIR
S
${
IPOPT_INCLUDE_DIR
}
)
ENDIF
(
IPOPT_INCLUDE_DIR
)
ELSE
(
WIN32
)
...
...
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