From d4cc2ac2e51d909b682f3a22c5c74201925a2cb8 Mon Sep 17 00:00:00 2001 From: Jonathan Means Date: Mon, 2 Mar 2020 12:15:16 -0500 Subject: [PATCH] Fix building TREs --- modules/c/nitf/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/c/nitf/CMakeLists.txt b/modules/c/nitf/CMakeLists.txt index fad58fc13..af25b4eda 100644 --- a/modules/c/nitf/CMakeLists.txt +++ b/modules/c/nitf/CMakeLists.txt @@ -161,7 +161,7 @@ set(tre_srcs ACCHZB foreach(tre ${tre_srcs}) add_library(${tre} SHARED shared/${tre}.c) - target_link_libraries(${tre} nitf) + target_link_libraries(${tre} nitf-c) target_compile_definitions(${tre} PRIVATE NITF_MODULE_EXPORTS) # This line is making sure the resultant TRE is named, e.g.