Fixes for Linux.
This commit is contained in:
@@ -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})
|
||||
|
||||
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user