mirror of
https://github.com/keharriso/love-nuklear.git
synced 2025-09-10 16:17:47 -04:00
Add install target
* this allows `$ make install` to also execute successfully * without changing the output location of nuklear.so
This commit is contained in:
parent
213be47f91
commit
f33c94db66
1 changed files with 6 additions and 0 deletions
|
@ -25,3 +25,9 @@ TARGET_LINK_LIBRARIES(
|
||||||
)
|
)
|
||||||
|
|
||||||
SET_TARGET_PROPERTIES("${LIB_NAME}" PROPERTIES PREFIX "")
|
SET_TARGET_PROPERTIES("${LIB_NAME}" PROPERTIES PREFIX "")
|
||||||
|
|
||||||
|
IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
||||||
|
SET(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}" CACHE PATH "..." FORCE)
|
||||||
|
ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
||||||
|
|
||||||
|
INSTALL(TARGETS "${LIB_NAME}" DESTINATION .)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue