From 00b4df73031e431de54aaf3ed7735877bc904255 Mon Sep 17 00:00:00 2001 From: Tom Finegan <tomfinegan@google.com> Date: Fri, 1 Sep 2017 11:30:34 -0700 Subject: [PATCH] Fix CMake MSVC generation. Move the add_dependencies() call for aom_pc to within the if(MSVC) block, where it belongs. BUG=aomedia:722 Change-Id: If25a6c83a981afc6d900e89e31db528af13b9e93 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d425828b5..90f8fea74e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -216,8 +216,8 @@ if (NOT MSVC) -P "${AOM_ROOT}/build/cmake/pkg_config.cmake" COMMENT "Writing aom.pc" VERBATIM) + add_dependencies(aom_pc aom_version) endif () -add_dependencies(aom_pc aom_version) # TODO(tomfinegan): Move rtcd target setup where it belongs for each rtcd # source. -- GitLab