diff dep/animia/CMakeLists.txt @ 64:fe719c109dbc

*: update 1. add media tracking ability, and it displays info on the `now playing` page 2. the `now playing` page now actually shows something 3. renamed every page class to be more accurate to what it is 4. ...
author Paper <mrpapersonic@gmail.com>
date Sun, 01 Oct 2023 23:15:43 -0400
parents 6ff7aabeb9d7
children 1ce00c1c8ddc
line wrap: on
line diff
--- a/dep/animia/CMakeLists.txt	Sun Oct 01 06:39:47 2023 -0400
+++ b/dep/animia/CMakeLists.txt	Sun Oct 01 23:15:43 2023 -0400
@@ -11,10 +11,14 @@
 	list(APPEND SRC_FILES src/win32.cpp)
 endif()
 add_library(animia SHARED ${SRC_FILES})
-set_target_properties(animia PROPERTIES
-    PUBLIC_HEADER animia/animia.h CXX_STANDARD 17)
+set_target_properties(animia PROPERTIES CXX_STANDARD 17)
 target_include_directories(animia PRIVATE include)
 
+install(TARGETS animia
+        ARCHIVE DESTINATION lib
+        LIBRARY DESTINATION lib
+        RUNTIME DESTINATION bin)
+
 if(BUILD_TESTS)
 	project(test LANGUAGES CXX)
 	add_executable(test test/main.cpp)