restructure
This commit is contained in:
parent
08d2c96590
commit
2c4198fbc6
5 changed files with 13 additions and 1 deletions
|
|
@ -4,6 +4,16 @@ project(assaultfish)
|
|||
include(GNUInstallDirs)
|
||||
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_FULL_LIBDIR}")
|
||||
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
|
||||
macro(install_target name)
|
||||
install(
|
||||
TARGETS ${name}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
endmacro()
|
||||
|
||||
add_subdirectory(external/glad)
|
||||
|
||||
add_subdirectory(net)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue