Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simple Robotics
pycppad
Commits
512f3639
Verified
Commit
512f3639
authored
Aug 25, 2021
by
Justin Carpentier
Browse files
cmake: fix pywrap linkage
parent
b14a2206
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/CMakeLists.txt
View file @
512f3639
...
@@ -25,6 +25,10 @@ IF(IS_ABSOLUTE ${PYTHON_SITELIB})
...
@@ -25,6 +25,10 @@ IF(IS_ABSOLUTE ${PYTHON_SITELIB})
ELSE
()
ELSE
()
SET
(
${
PYWRAP
}
_INSTALL_DIR
${
CMAKE_INSTALL_PREFIX
}
/
${
PYTHON_SITELIB
}
/
${
PROJECT_NAME
}
)
SET
(
${
PYWRAP
}
_INSTALL_DIR
${
CMAKE_INSTALL_PREFIX
}
/
${
PYTHON_SITELIB
}
/
${
PROJECT_NAME
}
)
ENDIF
()
ENDIF
()
IF
(
WIN32
)
TARGET_COMPILE_DEFINITIONS
(
${
PYWRAP
}
PRIVATE -DNOMINMAX
)
TARGET_LINK_LIBRARIES
(
${
PYWRAP
}
PUBLIC
${
PYTHON_LIBRARY
}
)
ENDIF
(
WIN32
)
SET_TARGET_PROPERTIES
(
${
PYWRAP
}
SET_TARGET_PROPERTIES
(
${
PYWRAP
}
PROPERTIES
PROPERTIES
...
...
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