summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarish Mahendrakar <harish.mahendrakar@ittiam.com>2023-05-28 03:20:56 -0700
committerHarish Mahendrakar <harish.mahendrakar@ittiam.com>2023-05-28 03:35:51 -0700
commit23c2fae4a901f671324417cf521740012226e53c (patch)
treece2f3f3346c83bec34298642faed4159e29b7b8a
parent10f3bc23c676a88d728b993bc953acabda1bf7a7 (diff)
downloadlibmpeg2-23c2fae4a901f671324417cf521740012226e53c.tar.gz
CMakeLists.txt: Do not hard code compilers
Removed hard-coded compilers in CMakeLists.txt
-rw-r--r--CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9c810a6..4f9e6c2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,10 +5,6 @@ enable_language(ASM)
set(MPEG2_ROOT "${CMAKE_CURRENT_SOURCE_DIR}")
set(MPEG2_CONFIG_DIR "${CMAKE_CURRENT_BINARY_DIR}")
-set(CMAKE_C_COMPILER clang)
-set(CMAKE_CXX_COMPILER clang++)
-set(CMAKE_BUILD_TYPE Debug)
-
if("${MPEG2_ROOT}" STREQUAL "${MPEG2_CONFIG_DIR}")
message(
FATAL_ERROR
@@ -105,4 +101,4 @@ libmpeg2_add_compile_options()
libmpeg2_add_definitions()
libmpeg2_set_link_libraries()
-libmpeg2_add_fuzzer(mpeg2_dec_fuzzer libmpeg2dec SOURCES ${MPEG2_ROOT}/fuzzer/mpeg2_dec_fuzzer.cpp) \ No newline at end of file
+libmpeg2_add_fuzzer(mpeg2_dec_fuzzer libmpeg2dec SOURCES ${MPEG2_ROOT}/fuzzer/mpeg2_dec_fuzzer.cpp)