blob: 6ee64db99a61125d25887e317b715a5a60a1f222 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff --git a/src/runtime/CMakeLists.txt b/src/runtime/CMakeLists.txt
index 127e2a4..f827a79 100644
--- a/src/runtime/CMakeLists.txt
+++ b/src/runtime/CMakeLists.txt
@@ -12,5 +12,8 @@ add_library(flatccrt
)
if (FLATCC_INSTALL)
- install(TARGETS flatccrt DESTINATION ${lib_dir})
+ install(TARGETS flatccrt
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
endif()
|