diff --git a/CMakeLists.txt b/CMakeLists.txt index 16c37aa..849df36 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,9 @@ cmake_minimum_required(VERSION 3.12) + project(DataStructure) set(CMAKE_CXX_STANDARD 20) -add_library(DataStructure CounterHashMap.h Cache/CacheNode.h Cache/CacheLinkedList.h Cache/LRUCache.h Graph/Node.h Graph/Edge.h Graph/Graph.h Graph/SingleSourceShortestPath.h Graph/AllPairsShortestPath.h) \ No newline at end of file +add_library(DataStructure CounterHashMap.h Cache/CacheNode.h Cache/CacheLinkedList.h Cache/LRUCache.h Graph/Node.h Graph/Edge.h Graph/Graph.h Graph/SingleSourceShortestPath.h Graph/AllPairsShortestPath.h) + +set_target_properties(DataStructure PROPERTIES LINKER_LANGUAGE CXX)