diff options
author | evpobr <evpobr@gmail.com> | 2019-07-20 13:31:41 +0500 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2019-07-20 18:31:41 +1000 |
commit | 688208e6960595b2f33a6dc362033fbe369adc0d (patch) | |
tree | 4cbb631f2050896c0811153f8acfb96c6db4182e | |
parent | fb05258b8be88746cbf091808e9faae71007e984 (diff) | |
download | ogg-git-688208e6960595b2f33a6dc362033fbe369adc0d.tar.gz |
cmake: Remove unnessessary variables from configure_file() command (#39)
Just cleanup.
Output path is relative to build directory anyway according
to documentation.
Related to #9.
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d723616..f8716a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,7 +48,7 @@ function(configure_pkg_config_file pkg_config_file_in) set(includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR}) set(VERSION ${PROJECT_VERSION}) string(REPLACE ".in" "" pkg_config_file ${pkg_config_file_in}) - configure_file(${pkg_config_file_in} ${CMAKE_CURRENT_BINARY_DIR}/${pkg_config_file} @ONLY) + configure_file(${pkg_config_file_in} ${pkg_config_file} @ONLY) endfunction() message(STATUS "Configuring ${PROJECT_NAME} ${PROJECT_VERSION}") @@ -62,7 +62,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") include(CheckSizes) -configure_file(include/ogg/config_types.h.in ${CMAKE_CURRENT_BINARY_DIR}/include/ogg/config_types.h @ONLY) +configure_file(include/ogg/config_types.h.in include/ogg/config_types.h @ONLY) set(OGG_HEADERS ${CMAKE_CURRENT_BINARY_DIR}/include/ogg/config_types.h |