Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
CrysFML
Commits
947a8a97
Unverified
Commit
947a8a97
authored
Jul 15, 2021
by
Simon Ward
Browse files
Dynamic lookup on windows
parent
fa6c313f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Python_API/Src/CMakeLists.txt
View file @
947a8a97
...
...
@@ -62,8 +62,8 @@ endif()
# Set include and linking
include_directories
(
${
CRYSFML_COMMON_MODULE_DIRECTORY
}
)
target_link_libraries
(
${
LIBRARY_NAME
}
crysfml_common
)
# Fix a problem on Mac OS X when building shared libraries
if
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"
Darwin
"
)
# Fix a problem on Mac OS X
/Win
when building shared libraries
if
(
NOT
${
CMAKE_SYSTEM_NAME
}
MATCHES
"
Linux
"
)
set
(
CMAKE_SHARED_LINKER_FLAGS
"
${
CMAKE_SHARED_LINKER_FLAGS
}
-undefined dynamic_lookup"
)
endif
()
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment