build: Fix compilation warnings from ABC
Invalid C++ compile options were being passed to ABC, causing the
compiler to produce warnings. We now specify those warnings only for
VTR-related projects.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 78dfaa0..5231741 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -336,12 +336,12 @@
#Add the various sub-projects
-add_subdirectory(libs)
-
-# Only add warn flags for VPR internal libraries.
-add_compile_options(${WARN_FLAGS})
-add_subdirectory(vpr)
add_subdirectory(abc)
+add_subdirectory(libs) #libs/CMakeLists.txt handles adding warnings flags to non-external libraries
+
+#Add the various tools
+add_compile_options(${WARN_FLAGS}) #Add warn flags for VTR tools
+add_subdirectory(vpr)
add_subdirectory(ODIN_II)
add_subdirectory(ace2)
add_subdirectory(utils)