Commit b5a52e4c authored by sm's avatar sm

Eliminate build type dependant library naming

parent 360ad6c5
......@@ -93,6 +93,8 @@ if (PKG_CONFIG_FOUND)
"${PROJECT_BINARY_DIR}/stmm-input-base.pc" @ONLY)
endif()
set_target_properties(stmm-input-base PROPERTIES ${STMMI_BUILD_TYPE}_POSTFIX "")
if ($ENV{STMM_CMAKE_COMMENTS})
message(STATUS "")
message(STATUS "stmm-input-base was configured with the following options:")
......
......@@ -100,6 +100,8 @@ if (PKG_CONFIG_FOUND)
"${PROJECT_BINARY_DIR}/stmm-input-dl.pc" @ONLY)
endif()
set_target_properties(stmm-input-dl PROPERTIES ${STMMI_BUILD_TYPE}_POSTFIX "")
if ($ENV{STMM_CMAKE_COMMENTS})
message(STATUS "")
message(STATUS "stmm-input-dl was configured with the following options:")
......
......@@ -37,8 +37,6 @@
#include <errno.h>
#include <dlfcn.h>
#include <sys/stat.h>
#include <ctype.h>
#include <ctype.h> // stat
namespace stmi
{
......
......@@ -110,6 +110,8 @@ if (PKG_CONFIG_FOUND)
"${PROJECT_BINARY_DIR}/stmm-input-ev.pc" @ONLY)
endif()
set_target_properties(stmm-input-ev PROPERTIES ${STMMI_BUILD_TYPE}_POSTFIX "")
if ($ENV{STMM_CMAKE_COMMENTS})
message(STATUS "")
message(STATUS "stmm-input-ev was configured with the following options:")
......
......@@ -103,6 +103,8 @@ if (PKG_CONFIG_FOUND)
"${PROJECT_BINARY_DIR}/stmm-input-fake.pc" @ONLY)
endif()
set_target_properties(stmm-input-fake PROPERTIES ${STMMI_BUILD_TYPE}_POSTFIX "")
if ($ENV{STMM_CMAKE_COMMENTS})
message(STATUS "")
message(STATUS "stmm-input-fake was configured with the following options:")
......
......@@ -192,6 +192,8 @@ set(STMMI_GTK_DM_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
configure_file("${PROJECT_SOURCE_DIR}/stmm-input-gtk-dm.pc.in"
"${PROJECT_BINARY_DIR}/stmm-input-gtk-dm.pc" @ONLY)
set_target_properties(stmm-input-gtk-dm PROPERTIES ${STMMI_BUILD_TYPE}_POSTFIX "")
if ($ENV{STMM_CMAKE_COMMENTS})
message(STATUS "")
message(STATUS "stmm-input-gtk-dm was configured with the following options:")
......
......@@ -103,6 +103,8 @@ set(STMMI_GTK_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
configure_file("${PROJECT_SOURCE_DIR}/stmm-input-gtk.pc.in"
"${PROJECT_BINARY_DIR}/stmm-input-gtk.pc" @ONLY)
set_target_properties(stmm-input-gtk PROPERTIES ${STMMI_BUILD_TYPE}_POSTFIX "")
if ($ENV{STMM_CMAKE_COMMENTS})
message(STATUS "")
message(STATUS "stmm-input-gtk was configured with the following options:")
......
......@@ -78,6 +78,8 @@ if (PKG_CONFIG_FOUND)
"${PROJECT_BINARY_DIR}/stmm-input.pc" @ONLY)
endif()
set_target_properties(stmm-input PROPERTIES ${STMMI_BUILD_TYPE}_POSTFIX "")
if ($ENV{STMM_CMAKE_COMMENTS})
message(STATUS "")
message(STATUS "stmm-input was configured with the following 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