From f38bfaa0ca524e25b3dcd362ce104d0b5023b2c7 Mon Sep 17 00:00:00 2001 From: ssteinbach Date: Mon, 1 Mar 2021 15:11:55 -0800 Subject: [PATCH] stop using the modname variable --- src/opentime/CMakeLists.txt | 2 +- src/opentimelineio/CMakeLists.txt | 2 +- src/py-opentimelineio/opentime-bindings/CMakeLists.txt | 2 +- src/py-opentimelineio/opentimelineio-bindings/CMakeLists.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/opentime/CMakeLists.txt b/src/opentime/CMakeLists.txt index 325d1a53d4..217220c3e5 100644 --- a/src/opentime/CMakeLists.txt +++ b/src/opentime/CMakeLists.txt @@ -18,7 +18,7 @@ target_include_directories(opentime PRIVATE "${PROJECT_SOURCE_DIR}/src") set_target_properties(opentime PROPERTIES DEBUG_POSTFIX "${OTIO_DEBUG_POSTFIX}" - LIBRARY_OUTPUT_NAME "${MODNAME}" + LIBRARY_OUTPUT_NAME "opentime" POSITION_INDEPENDENT_CODE TRUE WINDOWS_EXPORT_ALL_SYMBOLS true) diff --git a/src/opentimelineio/CMakeLists.txt b/src/opentimelineio/CMakeLists.txt index fd7c099ae3..48d1cffbfd 100644 --- a/src/opentimelineio/CMakeLists.txt +++ b/src/opentimelineio/CMakeLists.txt @@ -83,7 +83,7 @@ target_include_directories(opentimelineio PRIVATE target_link_libraries(opentimelineio PUBLIC opentime) set_target_properties(opentimelineio PROPERTIES DEBUG_POSTFIX "${OTIO_DEBUG_POSTFIX}" - LIBRARY_OUTPUT_NAME "${MODNAME}" + LIBRARY_OUTPUT_NAME "opentimelineio" POSITION_INDEPENDENT_CODE TRUE WINDOWS_EXPORT_ALL_SYMBOLS true) diff --git a/src/py-opentimelineio/opentime-bindings/CMakeLists.txt b/src/py-opentimelineio/opentime-bindings/CMakeLists.txt index c4c7286708..bd92bbfa0f 100644 --- a/src/py-opentimelineio/opentime-bindings/CMakeLists.txt +++ b/src/py-opentimelineio/opentime-bindings/CMakeLists.txt @@ -17,7 +17,7 @@ target_include_directories(_opentime target_link_libraries(_opentime PUBLIC opentimelineio opentime) set_target_properties(_opentime PROPERTIES - LIBRARY_OUTPUT_NAME "${MODNAME}" + LIBRARY_OUTPUT_NAME "_opentime" DEBUG_POSTFIX "${OTIO_DEBUG_POSTFIX}") # The version of pybind11 we are currently using generates an overwhelming number of diff --git a/src/py-opentimelineio/opentimelineio-bindings/CMakeLists.txt b/src/py-opentimelineio/opentimelineio-bindings/CMakeLists.txt index 374824f846..10e487c5ca 100644 --- a/src/py-opentimelineio/opentimelineio-bindings/CMakeLists.txt +++ b/src/py-opentimelineio/opentimelineio-bindings/CMakeLists.txt @@ -36,7 +36,7 @@ target_compile_options(_otio PRIVATE ) set_target_properties(_otio PROPERTIES - LIBRARY_OUTPUT_NAME "${modname}" + LIBRARY_OUTPUT_NAME "_otio" DEBUG_POSTFIX "${OTIO_DEBUG_POSTFIX}") if(APPLE)