Skip to content

Commit

Permalink
update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
wujunwei committed Feb 3, 2020
1 parent 4cc4a7c commit b75e0e2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
CMAKE_MINIMUM_REQUIRED(VERSION 3.1)
CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
project(slock C)

set(CMAKE_C_STANDARD 99)

add_library(slock SHARED
slock.c
)
AUX_SOURCE_DIRECTORY(. SRC_LIST)
add_library(slock SHARED ${SRC_LIST})
set_target_properties(slock PROPERTIES output_name "slock")

0 comments on commit b75e0e2

Please sign in to comment.