Skip to content

Commit

Permalink
Fix install
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolfost committed Aug 23, 2024
1 parent cacae7f commit b74b89c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion install/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
include(GNUInstallDirs)

install(TARGETS tt_borad
install(TARGETS tt_board
EXPORT tt_board_export
FILE_SET tt_board_headers
)
install(TARGETS tt_chess
EXPORT tt_chess_export
FILE_SET tt_chess_headers
)

install(EXPORT tt_board_export
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/board
FILE board.cmake
NAMESPACE tt::
)
install(EXPORT tt_chess_export
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/chess
FILE chess.cmake
NAMESPACE tt::
)

0 comments on commit b74b89c

Please sign in to comment.