Skip to content

Commit

Permalink
Trying to fix aur pkgbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeDP committed Mar 25, 2018
1 parent a79470f commit 748ca32
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ include(GNUInstallDirs)

# Find source files
file(GLOB SOURCES Lib/*.c)
set(PUBLIC_H "Lib/module.h Lib/modules.h")
set(PRIVATE_H "Lib/module_priv.h")
set(PUBLIC_H Lib/module.h Lib/modules.h)
set(PRIVATE_H Lib/module_priv.h)

# Include header files
include_directories(Lib)
Expand All @@ -20,8 +20,9 @@ add_library(module SHARED ${SOURCES})
set_target_properties(module PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION 1
PUBLIC_HEADER ${PUBLIC_H}
PRIVATE_HEADERS ${PRIVATE_H})
PUBLIC_HEADER "${PUBLIC_H}"
PRIVATE_HEADER "${PRIVATE_H}"
)

set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wl,--no-undefined -Wshadow -Wtype-limits -Wstrict-overflow -fno-strict-aliasing -Wformat -Wformat-security")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -D_GNU_SOURCE -fvisibility=hidden")
Expand Down

0 comments on commit 748ca32

Please sign in to comment.