Skip to content
Snippets Groups Projects
Commit 7526c666 authored by Damien Lacoste's avatar Damien Lacoste
Browse files

BACKEND_TARGET_SHARED/STATIC must be defined on both scope, parent and

local in order to build well.
parent df0985b8
No related branches found
No related tags found
No related merge requests found
...@@ -151,10 +151,9 @@ get_directory_property(hasParent PARENT_DIRECTORY) ...@@ -151,10 +151,9 @@ get_directory_property(hasParent PARENT_DIRECTORY)
if(hasParent) if(hasParent)
set(BACKEND_TARGET_SHARED "libhdbpp_timescale_shared_library" PARENT_SCOPE) set(BACKEND_TARGET_SHARED "libhdbpp_timescale_shared_library" PARENT_SCOPE)
set(BACKEND_TARGET_STATIC "libhdbpp_timescale_static_library" PARENT_SCOPE) set(BACKEND_TARGET_STATIC "libhdbpp_timescale_static_library" PARENT_SCOPE)
else() endif(hasParent)
set(BACKEND_TARGET_SHARED "libhdbpp_timescale_shared_library") set(BACKEND_TARGET_SHARED "libhdbpp_timescale_shared_library")
set(BACKEND_TARGET_STATIC "libhdbpp_timescale_static_library") set(BACKEND_TARGET_STATIC "libhdbpp_timescale_static_library")
endif(hasParent)
# Shared library -------- # Shared library --------
add_library(${BACKEND_TARGET_SHARED} SHARED ${SRC_FILES}) add_library(${BACKEND_TARGET_SHARED} SHARED ${SRC_FILES})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment