| 1 |
From: Chow Loong Jin <[email protected]> |
| 2 |
Date: Mon, 11 Dec 2023 16:47:19 +0800 |
| 3 |
Subject: Avoid exporting cmd tool in ConvertTargets |
| 4 |
|
| 5 |
This allows the -dev package to be used without having the cli tool installed. |
| 6 |
--- |
| 7 |
src/LibBGCode/cmd/CMakeLists.txt | 1 - |
| 8 |
1 file changed, 1 deletion(-) |
| 9 |
|
| 10 |
diff --git a/src/LibBGCode/cmd/CMakeLists.txt b/src/LibBGCode/cmd/CMakeLists.txt |
| 11 |
index 0922214..5868fed 100644 |
| 12 |
--- a/src/LibBGCode/cmd/CMakeLists.txt |
| 13 |
+++ b/src/LibBGCode/cmd/CMakeLists.txt |
| 14 |
@@ -12,7 +12,6 @@ target_link_libraries(${_libname}_cmd ${_libname}_convert Boost::nowide) |
| 15 |
|
| 16 |
if (NOT EMSCRIPTEN) |
| 17 |
install(TARGETS ${_libname}_cmd |
| 18 |
- EXPORT ${PROJECT_NAME}ConvertTargets |
| 19 |
RUNTIME DESTINATION bin |
| 20 |
INCLUDES DESTINATION include/${PROJECT_NAME} |
| 21 |
) |