Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cmake warning on Multithreaded params #158

Merged
merged 1 commit into from
Mar 1, 2023
Merged

Conversation

TriForceX
Copy link
Contributor

@TriForceX TriForceX commented Feb 28, 2023

Set the params properly to prevent the next warnings when generating project files.
CMake Warning (dev) at CMakeLists.txt:218 (set): implicitly converting 'TYPE' to 'STRING' type.
CMake Warning (dev) at CMakeLists.txt:219 (set): implicitly converting 'TYPE' to 'STRING' type.

@aufau
Copy link
Member

aufau commented Mar 1, 2023

So what is this pr about?

@TriForceX
Copy link
Contributor Author

So what is this pr about?

sorry i forgot to mention in the description, basically fix the warning when build project files due wrong params set

@aufau
Copy link
Member

aufau commented Mar 1, 2023

Will it work with older CMake versions? We have cmake_minimum_required(VERSION 3.1.0) currently and we don't want to bump it unless absolutely necessary.

@TriForceX
Copy link
Contributor Author

TriForceX commented Mar 1, 2023

yea it should be fine, ive noticed about this on my mod back in 2021 when cmake_minimum_required(VERSION 3.0) so i checked the documentation back then and updated, i never had any problems since then.

i just downloaded yesterday the jk2mv and mvsdk repos and noticed about this (using cmake 3.24.0) thats why i did the pr.

@aufau aufau merged commit 80a0211 into mvdevs:master Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants