diff --git a/CMakeLists.txt b/CMakeLists.txt index b8f9274..6ee4b05 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,10 +12,10 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) include(FindPkgConfig) pkg_check_modules(OGG REQUIRED ogg) -configure_file(config.h.in config.h @ONLY) +configure_file(src/config.h.in config.h @ONLY) include_directories(${CMAKE_CURRENT_BINARY_DIR}) -add_executable(opustags opustags.cc) +add_executable(opustags src/opustags.cc) target_compile_options(opustags PUBLIC ${OGG_CFLAGS}) target_link_libraries(opustags PUBLIC ${OGG_LIBRARIES}) diff --git a/config.h.in b/src/config.h.in similarity index 100% rename from config.h.in rename to src/config.h.in diff --git a/opustags.cc b/src/opustags.cc similarity index 100% rename from opustags.cc rename to src/opustags.cc