summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 29eee3e..dc95905 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -44,8 +44,12 @@ add_library(libflang ${libkind} lib/Libflang.cpp
lib/System/System.cpp
)
-# Tests
+install(TARGETS libflang
+ RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib)
+# Tests
macro(add_libflang_test name)
add_executable( ${name} ${ARGN} )
target_link_libraries( ${name} libflang )