Skip to content

Commit

Permalink
feat: remove unnecessary exports
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyTubongbanua committed Jan 23, 2024
1 parent 0223f2b commit 8b4e91a
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ set(UUID4_SOURCES
${CMAKE_CURRENT_LIST_DIR}/src/uuid4.c
)

set(UUID4_HEADERS ${CMAKE_CURRENT_LIST_DIR}/include)
set(UUID4_HEADERS
${CMAKE_CURRENT_LIST_DIR}/include
)

add_library(uuid4-static STATIC ${UUID4_SOURCES})
add_library(uuid4-shared SHARED ${UUID4_SOURCES})
Expand Down Expand Up @@ -53,15 +55,7 @@ install(
# ==============

# ==============
# in case we are used as a subproject
# or FetchContent

export(
EXPORT uuid4-config
NAMESPACE uuid4::
FILE ${CMAKE_CURRENT_BINARY_DIR}/uuid4-config.cmake
)

# in case we are used as a subdirectory or via FetchContent
export(
PACKAGE uuid4
)
Expand Down

0 comments on commit 8b4e91a

Please sign in to comment.