Fixes for Linux.

This commit is contained in:
Jason Felds
2015-09-05 13:14:44 -04:00
parent e093d204c8
commit ae83a1c6ec
4 changed files with 22 additions and 18 deletions
+3
View File
@@ -26,4 +26,7 @@ list(APPEND SM_GTK_INCLUDE_DIRS
"${SM_SRC_DIR}/arch/LoadingWindow"
"${GTK2_INCLUDE_DIRS}"
)
sm_add_compile_definition("GtkModule" CMAKE_POWERED)
target_include_directories("GtkModule" PUBLIC ${SM_GTK_INCLUDE_DIRS})
+5
View File
@@ -1,5 +1,10 @@
#ifndef RAGE_EXCEPTION_H
#define RAGE_EXCEPTION_H
#if defined(CMAKE_POWERED)
#include "config.hpp"
#endif
/**
* @brief Namespace for throwing fatal errors.
*