Fix cmake/OSX build after path changes.
This commit is contained in:
@@ -33,6 +33,10 @@
|
|||||||
#ifndef BLI_UTIL_H
|
#ifndef BLI_UTIL_H
|
||||||
#define BLI_UTIL_H
|
#define BLI_UTIL_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
struct ListBase;
|
struct ListBase;
|
||||||
struct direntry;
|
struct direntry;
|
||||||
|
|
||||||
@@ -191,5 +195,9 @@ void BLI_where_is_temp(char *fullname, int usertemp);
|
|||||||
void BLI_string_to_utf8(char *original, char *utf_8, const char *code);
|
void BLI_string_to_utf8(char *original, char *utf_8, const char *code);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -34,7 +34,7 @@ SET(INC
|
|||||||
)
|
)
|
||||||
|
|
||||||
IF(APPLE)
|
IF(APPLE)
|
||||||
SET(SRC ${SRC} intern/path_util_cocoa.m)
|
SET(SRC ${SRC} intern/path_util_cocoa.mm)
|
||||||
ENDIF(APPLE)
|
ENDIF(APPLE)
|
||||||
|
|
||||||
IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||||
|
Reference in New Issue
Block a user