Clean up private/public linking
This commit is contained in:
@@ -39,8 +39,6 @@
|
||||
#include "DRAMSys/util/json.h"
|
||||
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
namespace DRAMSys::Config
|
||||
{
|
||||
|
||||
@@ -107,8 +107,9 @@ target_link_libraries(libdramsys
|
||||
PUBLIC
|
||||
SystemC::systemc
|
||||
DRAMSys::config
|
||||
SQLite::SQLite3
|
||||
$<$<TARGET_EXISTS:DRAMPower>:DRAMPower>
|
||||
PRIVATE
|
||||
SQLite::SQLite3
|
||||
|
||||
)
|
||||
|
||||
|
||||
@@ -54,12 +54,16 @@ add_library(simulator
|
||||
simulator/util.cpp
|
||||
)
|
||||
|
||||
target_include_directories(simulator PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
target_include_directories(simulator
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_link_libraries(simulator
|
||||
PUBLIC
|
||||
Threads::Threads
|
||||
libdramsys
|
||||
PRIVATE
|
||||
Threads::Threads
|
||||
)
|
||||
|
||||
add_library(DRAMSys::simulator ALIAS simulator)
|
||||
|
||||
Reference in New Issue
Block a user