Skip to content
Permalink
Browse files

asn1: fix asn1_security library for old CMake versions

Again, object libraries are causing trouble...

Change-Id: I2fb3a5979a4b554e2976d0070c76f37f06970db2
  • Loading branch information...
riebl committed Oct 2, 2019
1 parent 94dc0c0 commit 012eb6f7b2106727c5518b2e6a9c1329a9757c99
Showing with 1 addition and 1 deletion.
  1. +1 −1 vanetza/asn1/CMakeLists.txt
@@ -118,7 +118,7 @@ install(DIRECTORY ${_support_asn1_dir} ${_its_asn1_dir}

file(STRINGS "${_sec_asn1_source_file}" SEC_ASN1C_SOURCES REGEX "^[^#]+")
if (SEC_ASN1C_SOURCES)
add_library(asn1_security OBJECT ${SEC_ASN1C_SOURCES})
add_library(asn1_security STATIC ${SEC_ASN1C_SOURCES})
target_include_directories(asn1_security PUBLIC
$<BUILD_INTERFACE:${_support_asn1_dir}>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/vanetza/asn1/support}>)

0 comments on commit 012eb6f

Please sign in to comment.
You can’t perform that action at this time.