properly setting the C version
This commit is contained in:
@@ -41,3 +41,5 @@ target_link_libraries(ModManager ${LIBXML_LIBRARIES})
|
|||||||
target_link_libraries(ModManager ${AUDIT_LIBRARIES})
|
target_link_libraries(ModManager ${AUDIT_LIBRARIES})
|
||||||
|
|
||||||
install(TARGETS ModManager DESTINATION bin)
|
install(TARGETS ModManager DESTINATION bin)
|
||||||
|
|
||||||
|
set_property(TARGET ModManager PROPERTY C_STANDARD 23)
|
||||||
|
|||||||
+1
-1
@@ -90,7 +90,7 @@ int validateAppId(const char * appIdStr) {
|
|||||||
return (int)appid;
|
return (int)appid;
|
||||||
}
|
}
|
||||||
|
|
||||||
int listGames(int argc, char ** argv) {
|
int listGames(int argc, char **) {
|
||||||
if(argc != 2) return usage();
|
if(argc != 2) return usage();
|
||||||
GList * gamesIds = g_hash_table_get_keys(gamePaths);
|
GList * gamesIds = g_hash_table_get_keys(gamePaths);
|
||||||
GList * gamesIdsFirstPointer = gamesIds;
|
GList * gamesIdsFirstPointer = gamesIds;
|
||||||
|
|||||||
Reference in New Issue
Block a user