diff --git a/cmake_modules/GenPkgConfig.cmake b/cmake_modules/GenPkgConfig.cmake index 99d6639ac9db10199436ca7ce0c979470d6f7d9f..29ef29d5b11ec5b0c7576f24f7e20b70f735f13c 100644 --- a/cmake_modules/GenPkgConfig.cmake +++ b/cmake_modules/GenPkgConfig.cmake @@ -123,9 +123,7 @@ MACRO(GENERATE_PKGCONFIG_FILE _file) # Create .pc file # --------------- - GET_FILENAME_COMPONENT(_output_file ${_file} NAME) - STRING(REPLACE ".in" "" _output_file "${_output_file}") - SET(_output_file "${CMAKE_BINARY_DIR}/${_output_file}") + SET(_output_file "${CMAKE_BINARY_DIR}/chameleon.pc") # TODO: add url of MORSE releases in .pc file CONFIGURE_FILE("${_file}" "${_output_file}" @ONLY)