Commit 387f5e41 authored by Robert Schmidt's avatar Robert Schmidt

Make shlib_loader OBJECT library to prevent multiple compilations

Including sources in targets makes that file being compiled multiple
times. Instead, define an OBJECT library (i.e., it is only compiled, but
not linked), and link it into each target that uses it.
parent 28ec4944
This diff is collapsed.
...@@ -102,8 +102,6 @@ find_package(Threads REQUIRED) ...@@ -102,8 +102,6 @@ find_package(Threads REQUIRED)
set (FIRMWARE_VERSION "No svn information") set (FIRMWARE_VERSION "No svn information")
add_definitions("-DFIRMWARE_VERSION=\"${FIRMWARE_VERSION}\"") add_definitions("-DFIRMWARE_VERSION=\"${FIRMWARE_VERSION}\"")
add_boolean_option(LINUX True "????")
########################## ##########################
# NAS LAYER OPTIONS # NAS LAYER OPTIONS
########################## ##########################
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment