···5566cmake_policy(SET CMP0005 NEW)
7788-if(FLATPAK_BUILD)
99- # For some reason, some of the header files are not included in the
1010- # `/usr/include` directory.
1111- include_directories("/usr/lib/x86_64-linux-gnu/include")
1212-endif(FLATPAK_BUILD)
1313-148set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
159include(mig)
1610include(pyc)
+6
src/startup/CMakeLists.txt
···991010enable_language(C ASM)
11111212+if(FLATPAK_BUILD)
1313+ # For some reason, some of the header files are not included in the
1414+ # `/usr/include` directory.
1515+ include_directories("/usr/lib/x86_64-linux-gnu/include")
1616+endif(FLATPAK_BUILD)
1717+1218set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11 -ggdb -O0")
1319set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
1420#set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-Ttext-segment,0x400000 -Wl,-Tbss,0x410000 -Wl,-Tdata,0x420000")